Deriv.com interview question

How do you perform Query tuning.