Add indexes to improve perf on mongodb.