Add DB query for all model-service-ids which have a template

No match.