Chartboost Interview Question

How do you optimize DB queries?