I need an algorithm advice on performance and query strategy for a project I am working on. Project database is MongoDb and codebase is .Net Core with MongoDB C# Driver.