Optimize single product query