SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    9980, 9981, 9985, 4525, 2760, 2653, 4003, 
    4001, 2851
  )

Query time 0.00074

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "25.85"
    },
    "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": 62,
      "rows_produced_per_join": 62,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "13.45",
        "eval_cost": "12.40",
        "prefix_cost": "25.85",
        "data_read_per_join": "367K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (9980,9981,9985,4525,2760,2653,4003,4001,2851))"
    }
  }
}

Result

category_id parent_id
2656 2653
2658 2653
2721 2653
2760 2653
2761 2653
2797 2653
2804 2653
2853 2653
9965 2653
9967 2653
9968 2653
9980 2653
2772 2760
2782 2760
2793 2760
2801 2760
2811 2760
2818 2760
2821 2760
2840 2760
2848 2760
2851 2760
2855 2760
9296 2760
9985 2760
4003 4001
4254 4001
4315 4001
9987 4001
4004 4003
4257 4003
4275 4003
4288 4003
4289 4003
4304 4003
4334 4003
4365 4003
4422 4003
4423 4003
4458 4003
4468 4003
4472 4003
4504 4003
4525 4003
4544 4003
4865 4003
4888 4003
5214 4003
9284 4003
4399 4525
4551 4525
4638 4525
4667 4525
4693 4525
4832 4525
4857 4525
4904 4525
5016 4525
9981 9980