SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    2375, 2379, 2382, 2386, 2423, 2427, 2437, 
    2438, 2444, 2457, 2461, 2467, 2484, 
    2502, 2599, 2624, 2637, 2650, 2654, 
    2672, 2674, 2676
  ) 
  AND category_id != 414

Query time 0.00077

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "47.36"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "parent",
        "p_category_id"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 93,
      "rows_produced_per_join": 93,
      "filtered": "100.00",
      "index_condition": "(`s2cart`.`cscart_categories`.`parent_id` in (2375,2379,2382,2386,2423,2427,2437,2438,2444,2457,2461,2467,2484,2502,2599,2624,2637,2650,2654,2672,2674,2676))",
      "cost_info": {
        "read_cost": "38.06",
        "eval_cost": "9.30",
        "prefix_cost": "47.36",
        "data_read_per_join": "329K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`s2cart`.`cscart_categories`.`category_id` <> 414)"
    }
  }
}

Result

category_id parent_id
2383 2382
2387 2386
2388 2386
2389 2386
2390 2386
2391 2386
2392 2386
2393 2386
2394 2386
2395 2386
2396 2386
2397 2386
2398 2386
2399 2386
2400 2386
2401 2386
2402 2386
2403 2386
2404 2386
2405 2386
2406 2386
2407 2386
2408 2386
2409 2386
2410 2386
2411 2386
2412 2386
2413 2386
2414 2386
2424 2423
2425 2423
2426 2423
2445 2444
2446 2444
2447 2444
2458 2457
2459 2457
2462 2461
2463 2461
2468 2467
2469 2467
2470 2467
2471 2467
2472 2467
2473 2467
2474 2467
2475 2467
2476 2467
2477 2467
2478 2467
2479 2467
2480 2467
2481 2467
2482 2467
2503 2502
2504 2502
2600 2599
2601 2599
2602 2599
2603 2599
2604 2599
2605 2599
2606 2599
2607 2599
2608 2599
2609 2599
2610 2599
2611 2599
2612 2599
2655 2654
2656 2654
2657 2654
2658 2654
2659 2654
2660 2654
2661 2654
2662 2654
2663 2654
2664 2654
2665 2654
2666 2654
2667 2654
2668 2654
2669 2654
2670 2654
2677 2676