SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  id_path LIKE '22403/22404/%'

Query time 0.00005

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_categories",
          "access_type": "range",
          "possible_keys": ["id_path"],
          "key": "id_path",
          "key_length": "767",
          "used_key_parts": ["id_path"],
          "rows": 20,
          "filtered": 100,
          "index_condition": "cscart_categories.id_path like '22403/22404/%'"
        }
      }
    ]
  }
}

Result

category_id
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428