SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    9832, 3018, 3029, 2912, 3105, 2920, 2922, 
    3051, 2917, 3024, 2928
  )

Query time 0.00067

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "34.67"
    },
    "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": 84,
      "rows_produced_per_join": 84,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "17.87",
        "eval_cost": "16.80",
        "prefix_cost": "34.67",
        "data_read_per_join": "498K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (9832,3018,3029,2912,3105,2920,2922,3051,2917,3024,2928))"
    }
  }
}

Result

category_id parent_id
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
2924 2920
3029 2920
3141 2920
3186 2920
3273 2920
3337 2920
3429 2920
3741 2920
3977 2920
6245 2920
3024 3018
3032 3018
3035 3018
3039 3018
3054 3018
3062 3018
3067 3018
3074 3018
3082 3018
3051 3029
3066 3029
3071 3029
3078 3029
3097 3029
3100 3029
3115 3029
3139 3029
3148 3029
3150 3029
3157 3029
3180 3029
3104 3105
3110 3105
3111 3105
3112 3105
3113 3105
3114 3105
3222 3105
3223 3105
3224 3105
3225 3105
3226 3105
3227 3105
3228 3105
3229 3105
3230 3105
3231 3105
3269 3105
9020 3105
9832 3105
9962 9832