Cached findQuery logic