SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    266, 2653, 4001, 5362, 3532, 2910, 3648, 
    5372, 5457, 5684, 6288, 4271, 6328, 
    6473, 5742, 9697
  )

Query time 0.00111

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "89.97"
    },
    "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": 222,
      "rows_produced_per_join": 222,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "45.57",
        "eval_cost": "44.40",
        "prefix_cost": "89.97",
        "data_read_per_join": "1M"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (266,2653,4001,5362,3532,2910,3648,5372,5457,5684,6288,4271,6328,6473,5742,9697))"
    }
  }
}

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
2656 2653
2658 2653
2721 2653
2760 2653
2761 2653
2797 2653
2804 2653
2853 2653
9965 2653
9967 2653
9968 2653
9980 2653
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
3535 3532
3540 3532
3591 3532
9367 3532
9414 3532
9533 3532
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
4003 4001
4254 4001
4315 4001
9987 4001
4303 4271
4313 4271
4321 4271
4338 4271
4497 4271
4581 4271
4725 4271
4787 4271
4800 4271
4805 4271
4885 4271
4945 4271
4954 4271
4967 4271
5159 4271
5199 4271
5204 4271
5209 4271
9256 4271
9424 4271
9667 4271
5379 5362
6779 5362
6871 5362
6980 5362
7350 5362
7454 5362
7480 5362
7494 5362
7527 5362
7530 5362
5495 5372
5526 5372
6196 5372
5624 5457
5645 5457
5714 5457
5747 5457
5769 5457
5825 5457
5845 5457
5960 5457
6343 5457
7141 5457
7170 5457
7201 5457
7244 5457
7359 5457
5699 5684
6536 5684
6540 5684
7840 5684
5811 5742
5821 5742
5832 5742
5838 5742
6405 6288
6448 6288
6592 6288
6855 6288
6928 6288
6340 6328
9031 6328
10398 6328
10437 6328
10445 6328
6568 6473
6600 6473
6809 6473
6875 6473
6968 6473
7023 6473
7080 6473
7135 6473
7226 6473
7285 6473
7627 6473
7763 6473
7764 6473
7769 6473
7822 6473
10324 6473
9698 9697
9701 9697
9714 9697
9717 9697
9720 9697
9723 9697
9724 9697
9734 9697
9737 9697
9745 9697
9746 9697
9747 9697
9751 9697
9755 9697
9756 9697
9759 9697
9826 9697
9827 9697
9828 9697
9829 9697
9850 9697
9852 9697
9853 9697
9854 9697
9870 9697
9871 9697
9879 9697
9880 9697
9888 9697
9889 9697
9890 9697
9892 9697
9900 9697
9904 9697
9907 9697
9947 9697