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

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.003170465,
    "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"],
          "loops": 1,
          "rows": 5,
          "cost": 0.003170465,
          "filtered": 100,
          "attached_condition": "cscart_categories.id_path like '268/%'",
          "using_index": true
        }
      }
    ]
  }
}

Result

category_id
271
272
273
274
275