SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    415, 416, 417, 418, 419, 420, 2355, 421
  )

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": ["parent"],
      "key": "parent",
      "key_length": "3",
      "used_key_parts": ["parent_id"],
      "rows": 106,
      "filtered": 100,
      "index_condition": "cscart_categories.parent_id in (415,416,417,418,419,420,2355,421)"
    }
  }
}

Result

category_id parent_id
430 415
431 415
432 415
433 415
434 415
435 415
436 415
3120 415
2373 415
2372 415
3118 415
3121 415
3677 415
466 416
467 416
468 416
469 416
470 416
471 416
472 416
473 416
540 416
1064 416
1065 416
2375 416
2374 416
3310 416
3311 416
3312 416
3678 416
458 417
459 417
460 417
461 417
462 417
463 417
464 417
465 417
542 417
2377 417
2376 417
3679 417
3686 417
437 418
438 418
439 418
440 418
441 418
442 418
2379 418
2378 418
3291 418
3292 418
3293 418
3294 418
3680 418
451 419
452 419
453 419
454 419
455 419
456 419
457 419
2384 419
2381 419
2380 419
3306 419
3307 419
3308 419
3309 419
3681 419
443 420
444 420
448 420
449 420
450 420
541 420
2382 420
3299 420
3301 420
3304 420
3305 420
3682 420
3685 420
474 421
475 421
543 421
3684 421
3336 2355
3337 2355
3338 2355
3339 2355
3342 2355
3341 2355
3340 2355
3683 2355