Auth directives cripling database speed

We are currently in the process of benchmarking performance for the auth queries. Also, recently we have added a PR to optimize the performance of auth. Can you share the query which is causing performance issues?