SELECT count(*) FROM cscart_ec_table_booking_system WHERE booking_type != 'N' AND product_id = 339597
{ "query_block": { "select_id": 1, "message": "no matching row in const table" } }