SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(266, 2804, 2653, 267, 443, 2876)

Query time 0.00076

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "35.07"
    },
    "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": 85,
      "rows_produced_per_join": 85,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "18.07",
        "eval_cost": "17.00",
        "prefix_cost": "35.07",
        "data_read_per_join": "504K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (266,2804,2653,267,443,2876))"
    }
  }
}

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
267 443
444 443
445 443
446 443
447 443
1409 443
1410 443
1505 443
1509 443
1510 443
1518 443
1690 443
2454 443
2610 443
2634 443
9842 443
9843 443
10425 443
10426 443
2656 2653
2658 2653
2721 2653
2760 2653
2761 2653
2797 2653
2804 2653
2853 2653
9965 2653
9967 2653
9968 2653
9980 2653
2863 2804
2867 2804
2871 2804
2872 2804
2873 2804
2875 2804
2876 2804
2877 2804
2879 2804
2881 2804
2882 2804
2889 2804
2893 2804
2896 2804
10170 2804
10225 2804
10226 2804
10533 2804
2886 2876
2891 2876