SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  category_type = 'D'

Query time 0.00640

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 4.649526115,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_categories",
          "access_type": "ALL",
          "loops": 1,
          "rows": 28343,
          "cost": 4.649526115,
          "filtered": 100,
          "attached_condition": "cscart_categories.category_type = 'D'"
        }
      }
    ]
  }
}

Result

category_id
1