SELECT booking_type FROM ushop_booking_and_reservation WHERE `booking_type` != 'N' AND `product_id` = '517'
{ "query_block": { "select_id": 1, "message": "Impossible WHERE noticed after reading const tables" } }