SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    9276, 6875, 2658, 266, 10511, 2653, 6340, 
    1584, 1695, 3648, 6907, 7012, 1309, 
    6328, 6473, 327, 5831
  )

Query time 0.00093

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "79.95"
    },
    "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": 197,
      "rows_produced_per_join": 197,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "40.55",
        "eval_cost": "39.40",
        "prefix_cost": "79.95",
        "data_read_per_join": "1M"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (9276,6875,2658,266,10511,2653,6340,1584,1695,3648,6907,7012,1309,6328,6473,327,5831))"
    }
  }
}

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
328 327
1018 327
1438 327
1695 327
2528 327
2566 327
2567 327
2597 327
9401 1309
1303 1584
1309 1584
2473 1584
2596 1584
2613 1584
9958 1584
1696 1695
1697 1695
1698 1695
2568 1695
2599 1695
2602 1695
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
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
5940 5831
6019 5831
6070 5831
6340 6328
9031 6328
10398 6328
10437 6328
10445 6328
6379 6340
6471 6340
6483 6340
6500 6340
6907 6340
6964 6340
7247 6340
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
6886 6875
6892 6875
6972 6875
7004 6875
7006 6875
7012 6875
7026 6875
7030 6875
7048 6875
7056 6875
7066 6875
7076 6875
7081 6875
7122 6875
7129 6875
7139 6875
7146 6875
7155 6875
7161 6875
7172 6875
7178 6875
7212 6875
6960 6907
6997 6907
7021 6907
7075 6907
7106 6907
7133 6907
7174 6907
7198 6907
7220 6907
7276 6907
7292 6907
7313 6907
7335 6907
7367 6907
7388 6907
7455 6907
7460 6907
7466 6907
7474 6907
7479 6907
7850 6907
9277 9276
10512 10511