error getting bookings hotels 1

SELECT hotel_id, name AS ad_title, latitude, longitude, ( 6371 * acos( cos( radians(57.244724) ) * cos( radians( latitude ) ) * cos( radians( longitude ) - radians(10.272060) ) + sin( radians(57.244724) ) * sin( radians( latitude ) ) ) ) AS distance FROM `booking_hotels` WHERE ( latitude BETWEEN 57.064859932901 AND 57.424588067099 ) AND ( longitude BETWEEN 9.9396259726385 AND 10.604494027362 ) AND hoteltype_id IN(217,231,204,216,203,202,221,218,205,208,227,209,225,229,220,228,232,219,206,222,201,210,224,213,207,226,223) ORDER BY FIELD(hoteltype_id,217,231,204,216,203,202,221,218,205,208,227,209,225,229,220,228,232,219,206,222,201,210,224,213,207,226,223), distance ASC, CASE WHEN minrate <1 THEN 1 ELSE 0 END, gabino_date_update DESC, review_score DESC LIMIT 0,10