SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  id_path LIKE '2653/2658/2763/%'

Query time 0.00052

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "15.65"
    },
    "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": 30,
      "rows_produced_per_join": 30,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "9.65",
        "eval_cost": "6.00",
        "prefix_cost": "15.65",
        "data_read_per_join": "177K"
      },
      "used_columns": [
        "category_id",
        "id_path"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`id_path` like '2653/2658/2763/%')"
    }
  }
}

Result

category_id
2775
2779
10570
10571
10572
10573
10574
10575
2785
2791
2795
2856
2870
2883
2885
2887
2888
2890
2892
2894
2895
2899
2906
2908
2909
9365
9538
9539
9540
9541