SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    13, 34, 10, 8, 26, 25, 21, 39, 7, 11, 5, 30, 
    40, 45, 20, 42, 6, 16, 17, 14, 12, 15, 24, 
    19, 46, 1, 27, 18, 35, 36, 22, 41, 31, 2, 
    29, 9, 32, 44, 38, 23, 43, 33, 3, 37, 28
  )

Query time 0.00055

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_categories",
      "access_type": "ALL",
      "possible_keys": ["parent"],
      "rows": 46,
      "filtered": 100,
      "attached_condition": "cscart_categories.parent_id in (13,34,10,8,26,25,21,39,7,11,5,30,40,45,20,42,6,16,17,14,12,15,24,19,46,1,27,18,35,36,22,41,31,2,29,9,32,44,38,23,43,33,3,37,28)"
    }
  }
}

Result

category_id parent_id
8 7
12 11
13 11
15 11
17 7
20 7
21 7
22 7
24 11
25 11
30 7
35 11
36 7
43 7