Custom query resolver + rules = terribly slow on a large collection

I just spin up a M10 Cluster. There I dont have this problem, so it just was on the Sandbox-Cluster.
Thank you @Ian_Ward for your help!