Avoiding Bad Query Mixes to Minimize Unsuccessful Client Requests Under Heavy Loads