How to Optimize MongoDB Query Performance with Indexes