SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  id_path LIKE '281/838/%'

Query time 0.00025

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_categories range id_path,idx_id_path id_path 767 1 Using index condition