SELECT 
  COUNT(*) 
FROM 
  cscart_access_restriction 
WHERE 
  type = 'd' 
  AND status = 'A'

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}

Result

COUNT(*)
0