SELECT COUNT(*) FROM cscart_access_restriction WHERE type = 'd' AND status = 'A'
{ "query_block": { "select_id": 1, "message": "no matching row in const table" } }