UKG Interview Question

How would you debug an issue where database queries are taking longer in production than in development