Apploye interview question

On a provided scenario, how can I optimize database query operations?