SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  id_path LIKE '265/280/283/%'

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": ["id_path"],
      "key": "id_path",
      "key_length": "767",
      "used_key_parts": ["id_path"],
      "rows": 12,
      "filtered": 100,
      "index_condition": "cscart_categories.id_path like '265/280/283/%'"
    }
  }
}

Result

category_id
1629
1636
1638
1641
1649
1669
1674
1675
1677
1678
1681
667