SELECT COUNT(*) FROM netting_booking_and_reservation WHERE `booking_type` != 'N' AND `product_id` = '531'
{ "query_block": { "select_id": 1, "table": { "message": "Impossible WHERE noticed after reading const tables" } } }