SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    36825, 36849, 36854, 36846, 36847, 36850, 
    36816, 36845, 41453, 36855, 36817, 
    41473, 36858, 36809, 36859, 36827, 
    41311, 36808, 36799, 36863, 36805, 
    36824, 36856, 36851, 36823, 36857, 
    36800, 36820, 36796, 36862, 36797, 
    36839, 36798, 36842, 36865, 36864, 
    36789, 2461, 5452, 36790, 2475, 1289, 
    36815, 36791, 36792, 36795, 28406, 
    5690, 1582, 28522, 7103, 29509, 2580, 
    2530, 2524, 2634, 2523, 5536, 2629, 
    2630, 2579, 2571, 3538, 2610, 2566, 
    7027, 36794
  )

Query time 0.00069

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "21.18"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "parent"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 104,
      "rows_produced_per_join": 104,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "10.78",
        "eval_cost": "10.40",
        "prefix_cost": "21.18",
        "data_read_per_join": "269K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`maniamall_cscart`.`cscart_categories`.`parent_id` in (36825,36849,36854,36846,36847,36850,36816,36845,41453,36855,36817,41473,36858,36809,36859,36827,41311,36808,36799,36863,36805,36824,36856,36851,36823,36857,36800,36820,36796,36862,36797,36839,36798,36842,36865,36864,36789,2461,5452,36790,2475,1289,36815,36791,36792,36795,28406,5690,1582,28522,7103,29509,2580,2530,2524,2634,2523,5536,2629,2630,2579,2571,3538,2610,2566,7027,36794))"
    }
  }
}

Result

category_id parent_id
2523 2461
2524 2461
2530 2461
7027 2461
36858 2461
2566 2475
2571 2475
2579 2475
2580 2475
2610 2475
2630 2475
2634 2475
3538 2475
5536 2475
2629 2530
29509 2530
41473 2530
36789 5452
36790 5452
36791 5452
36792 5452
36795 5452
36839 28406
36794 28522
36824 28522
36797 36796
36799 36796
36808 36796
36827 36796
36865 36796
36798 36797
36800 36799
36805 36799
36862 36799
36864 36799
36809 36808
36842 36808
36816 36815
36817 36815
41311 36815
36823 36816
36851 36816
36820 36817
36825 36824
36846 36845
36849 36845
36855 36845
36859 36845
36847 36846
36854 36846
36850 36849
41453 36849
36856 36855
36857 36855
36863 36855