SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    9965, 9994, 2658, 9971, 10229, 2653, 
    2695
  )

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "24.25"
    },
    "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": 58,
      "rows_produced_per_join": 58,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "12.65",
        "eval_cost": "11.60",
        "prefix_cost": "24.25",
        "data_read_per_join": "343K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (9965,9994,2658,9971,10229,2653,2695))"
    }
  }
}

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
2657 2658
2661 2658
2671 2658
2695 2658
2722 2658
2724 2658
2729 2658
2763 2658
2767 2658
2769 2658
2789 2658
2800 2658
2812 2658
2822 2658
2829 2658
2837 2658
2843 2658
2849 2658
8851 2658
9250 2658
9257 2658
9276 2658
9574 2658
9990 2658
10562 2658
10563 2658
2702 2695
2711 2695
2719 2695
9966 9965
9971 9965
9977 9965
9978 9965
9983 9965
9986 9965
9992 9965
9994 9965
10125 9965
10127 9965
10128 9965
10129 9965
10130 9965
10131 9965