T. Rowe Price Interview Question

How do you optimize queries?