SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    9276, 2658, 2912, 266, 2653, 2917, 3796, 
    2910, 3648, 1936, 2601, 3751
  )

Query time 0.00058

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "69.53"
    },
    "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": 171,
      "rows_produced_per_join": 171,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "35.33",
        "eval_cost": "34.20",
        "prefix_cost": "69.53",
        "data_read_per_join": "1013K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (9276,2658,2912,266,2653,2917,3796,2910,3648,1936,2601,3751))"
    }
  }
}

Result

category_id parent_id
327 266
341 266
344 266
356 266
394 266
443 266
715 266
930 266
990 266
1498 266
1584 266
1907 266
1936 266
2171 266
2178 266
2373 266
2404 266
2433 266
2465 266
2577 266
2591 266
2611 266
2615 266
9692 266
9830 266
9840 266
9844 266
9926 266
9936 266
10631 266
10632 266
10633 266
10667 266
1937 1936
1938 1936
1939 1936
2579 1936
2580 1936
2583 1936
2584 1936
2585 1936
2586 1936
2601 1936
9929 1936
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
2912 2910
2913 2910
2914 2910
2915 2910
2916 2910
2920 2910
2921 2910
2933 2910
2944 2910
3006 2910
3007 2910
3011 2910
3018 2910
3080 2910
3105 2910
3251 2910
3362 2910
3408 2910
3691 2910
4029 2910
5522 2910
2917 2912
3012 2912
3016 2912
3033 2912
3043 2912
3044 2912
3045 2912
3046 2912
3047 2912
3048 2912
3049 2912
3050 2912
9476 2912
9489 2912
2922 2917
2928 2917
2934 2917
2941 2917
2949 2917
2954 2917
2973 2917
2980 2917
2985 2917
2987 2917
3001 2917
3008 2917
9289 2917
9399 2917
9521 2917
3550 3648
3573 3648
3595 3648
3600 3648
3605 3648
3608 3648
3616 3648
3623 3648
3628 3648
3634 3648
3642 3648
3651 3648
3673 3648
3685 3648
3693 3648
3702 3648
3712 3648
3726 3648
3735 3648
3742 3648
3751 3648
3869 3648
3913 3648
5831 3648
6678 3648
9868 3648
9910 3648
9912 3648
3761 3751
3796 3751
3807 3751
3816 3751
3824 3751
3832 3751
3839 3751
3857 3751
9277 9276