SELECT 
  id_path 
FROM 
  cscart_categories 
WHERE 
  category_id IN (904, 961, 964, 968)

Query time 0.00037

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_categories range PRIMARY,p_category_id,idx_category_id PRIMARY 3 4 Using index condition

Result

id_path
737/904
737/961
737/964
737/968