SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    2658, 266, 5699, 2653, 2661, 932, 5684, 
    930, 8513, 2767, 2789, 2800, 2812, 2837, 
    2843
  )

Query time 0.00088

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "59.92"
    },
    "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": 147,
      "rows_produced_per_join": 147,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "30.52",
        "eval_cost": "29.40",
        "prefix_cost": "59.92",
        "data_read_per_join": "871K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (2658,266,5699,2653,2661,932,5684,930,8513,2767,2789,2800,2812,2837,2843))"
    }
  }
}

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
932 930
935 930
945 930
8944 930
9961 930
933 932
934 932
941 932
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
2664 2661
2681 2661
2682 2661
2685 2661
2690 2661
2701 2661
2704 2661
2717 2661
2778 2767
2805 2767
2810 2767
2830 2767
2839 2767
2845 2767
2854 2767
8984 2767
9658 2767
2898 2837
2900 2837
2902 2837
2903 2837
2904 2837
2905 2837
2907 2837
2850 2843
2857 2843
2858 2843
2862 2843
2866 2843
2884 2843
5699 5684
6536 5684
6540 5684
7840 5684
5709 5699
5732 5699
5820 5699
6018 5699
6144 5699
6161 5699
6216 5699
6402 5699
6652 5699
7725 5699
7818 5699
7886 5699
8088 5699
8089 5699
8253 5699
8278 5699
8282 5699
8373 5699
8513 5699
8538 5699
8544 5699
8552 5699
8624 5699
8627 5699
8640 5699
8525 8513
8529 8513
8532 8513
8534 8513
8537 8513
8543 8513