Fix mysql query which check that current price is biggest