SELECT 
  product_id 
FROM 
  cscart_products 
WHERE 
  product_type = 'D'

Query time 0.28276

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "31651.29"
    },
    "table": {
      "table_name": "cscart_products",
      "access_type": "ALL",
      "rows_examined_per_scan": 270845,
      "rows_produced_per_join": 27084,
      "filtered": "10.00",
      "cost_info": {
        "read_cost": "28942.84",
        "eval_cost": "2708.45",
        "prefix_cost": "31651.29",
        "data_read_per_join": "203M"
      },
      "used_columns": [
        "product_id",
        "product_type"
      ],
      "attached_condition": "(`s2cart`.`cscart_products`.`product_type` = 'D')"
    }
  }
}

Result

product_id
5767