Strapi application taking 30-40 mins on launch

We are using Strapi v3.6.3 and it is now taking a lot of time to build/ launch - upto 30-45 mins. Enabling the debug:true flag shows that the below query is taking a very long time to execute. Any ideas on how to solve this?

Mongoose: strapi_permission.find({ ‘$and’: [ { role: ObjectId(“6001eb4894a1d33268110fb5”) } ] }, { publicationState: undefined, session: null, skip: 0, projection: {} })