Hi,
Please check if you have used complex if else conditions in those formulas.
Also check if Exception aggregation is being used and another thing to check is Exclusions.
These all things degrades query performance.
Is this happening for this particular query or for all.Sometimes it might happen due to load on server.
Regards,
AL