Optimizing MongoDB Aggregation Across Millions of Records for Real-Time Finance Intelligence