perf(index): limit query count to improve index performance