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

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": 16,
          "filtered": 100,
          "index_condition": "cscart_categories.id_path like '24928/%'"
        }
      }
    ]
  }
}

Result

category_id
24927
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946