Please note that ScorpioBroker (and its temporal API) is not using "fiware-service"and 'fiware-servicepath' headers to separate data sets, but instead it has a concept of "tenants".
To access a specific tenant you should use "NGSILD-Tenant" header in all /ngsi-ld/v1/... requests. If this header is not specified the 'default' tenant name is used.
Each tenant gets a separate database - the tenant database name can be found in the 'tenant' table in main scorpio db (ngb by default).
The temporal entity values are stored in tenants own database in 'temporalentity' and 'temporalentityattrinstance' tables.