SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  id_path LIKE '7237/%'

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "6.03"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "id_path"
      ],
      "key": "id_path",
      "used_key_parts": [
        "id_path"
      ],
      "key_length": "767",
      "rows_examined_per_scan": 26,
      "rows_produced_per_join": 26,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "3.43",
        "eval_cost": "2.60",
        "prefix_cost": "6.03",
        "data_read_per_join": "67K"
      },
      "used_columns": [
        "category_id",
        "id_path"
      ],
      "attached_condition": "(`nuie_scalesta_net`.`cscart_categories`.`id_path` like '7237/%')"
    }
  }
}

Result

category_id
7238
7239
7291
7268
7269
7276
7292
7298
7270
7271
7277
7293
7299
7272
7273
7281
7296
7274
7275
7280
7295
7297
7278
7279
7294
7352