SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  category_type = 'D'

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "2.62"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "ALL",
      "rows_examined_per_scan": 20,
      "rows_produced_per_join": 2,
      "filtered": "10.00",
      "cost_info": {
        "read_cost": "2.42",
        "eval_cost": "0.20",
        "prefix_cost": "2.62",
        "data_read_per_join": "5K"
      },
      "used_columns": [
        "category_id",
        "category_type"
      ],
      "attached_condition": "(`betaatif_store`.`cscart_categories`.`category_type` = 'D')"
    }
  }
}

Result

category_id
1