SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(246, 247, 249, 248)

Query time 0.00013

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