SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    295, 16209, 36062, 16293, 28866, 30717, 
    14399
  )

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "22.79"
    },
    "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": 110,
      "rows_produced_per_join": 110,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "11.79",
        "eval_cost": "11.00",
        "prefix_cost": "22.79",
        "data_read_per_join": "285K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`maniamall_cscart`.`cscart_categories`.`parent_id` in (295,16209,36062,16293,28866,30717,14399))"
    }
  }
}

Result

category_id parent_id
12291 295
12296 295
12298 295
13054 295
15757 295
30213 295
30239 295
30250 295
40930 295
41770 295
41855 295
42555 295
42560 295
42561 295
42562 295
42564 295
42566 295
42569 295
42570 295
42571 295
42572 295
42573 295
42576 295
42578 295
42579 295
42581 295
42585 295
42587 295
42590 295
42593 295
42595 295
42601 295
42603 295
42604 295
42605 295
42608 295
42612 295
42615 295
42616 295
42888 295
42890 295
42892 295
42896 295
42897 295
42901 295
42903 295
42905 295
42911 295
42912 295
36085 14399
39203 14399
40128 14399
40198 14399
16210 16209
16340 16209
16343 16209
16362 16209
16374 16209
16494 16209
29493 16209
30571 16209
30572 16209
30575 16209
30965 16209
32211 16209
35083 16209
35775 16209
36102 16209
36123 16209
39202 16209
39847 16209
40152 16209
40155 16209
40193 16209
40215 16209
41055 16209
41432 16209
42575 16209
42577 16209
42611 16209
42614 16209
16415 16293
29091 16293
30283 16293
30391 16293
30542 16293
30567 16293
36087 16293
40186 16293
40507 16293
40514 16293
40522 16293
40523 16293
30718 30717
35375 30717
35668 30717
36058 30717
36066 30717
36068 30717
36106 30717
38229 30717
39209 30717
40154 30717
40157 30717
40497 30717
40527 30717
36063 36062
38196 36062
40130 36062