SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    9276, 2658, 2653, 9951, 9915, 9917, 9952, 
    9925, 9938, 9914
  )

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "21.45"
    },
    "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": 51,
      "rows_produced_per_join": 51,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "11.25",
        "eval_cost": "10.20",
        "prefix_cost": "21.45",
        "data_read_per_join": "302K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (9276,2658,2653,9951,9915,9917,9952,9925,9938,9914))"
    }
  }
}

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
9277 9276
9915 9914
9917 9914
9925 9914
9938 9914
9951 9915
9952 9915
9953 9915