SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    867, 492, 493, 497, 494, 865, 495, 917, 
    496, 499
  )

Query time 0.00027

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

Result

category_id parent_id
493 492
494 492
495 492
496 492
498 492
499 492
852 492
867 865
497 865
917 865