SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    602, 637, 599, 581, 632, 577, 630, 590, 
    635, 573, 603, 579, 582, 633, 601, 591, 
    592, 600, 631, 634, 576, 574, 597, 598, 
    580, 575, 528, 585, 533, 530, 503, 548, 
    546, 583, 537, 515, 514, 525, 584, 586, 
    589, 534, 587, 550, 524, 604, 596, 545, 
    516, 527, 551, 594, 544, 538, 553, 523, 
    517, 595, 547, 554, 539, 578, 588, 540, 
    572, 606, 518, 541, 531, 607, 519, 552, 
    526, 542, 593, 559, 543, 549, 535, 562, 
    521, 522, 532, 558, 536, 560, 561, 529
  ) 
  AND category_id != 1

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_categories",
      "access_type": "ALL",
      "possible_keys": ["PRIMARY", "parent", "p_category_id"],
      "rows": 445,
      "filtered": 36.40449524,
      "attached_condition": "cscart_categories.parent_id in (602,637,599,581,632,577,630,590,635,573,603,579,582,633,601,591,592,600,631,634,576,574,597,598,580,575,528,585,533,530,503,548,546,583,537,515,514,525,584,586,589,534,587,550,524,604,596,545,516,527,551,594,544,538,553,523,517,595,547,554,539,578,588,540,572,606,518,541,531,607,519,552,526,542,593,559,543,549,535,562,521,522,532,558,536,560,561,529) and cscart_categories.category_id <> 1"
    }
  }
}

Result

category_id parent_id
528 503
530 503
533 532
546 521
548 518
515 532
525 503
524 503
534 532
550 518
516 532
527 503
545 521
551 518
523 503
538 532
544 521
553 518
539 532
547 521
554 518
540 532
531 503
541 532
526 503
542 519
552 532
562 532
543 519
549 518
535 503
536 503
529 503
559 532
560 503
561 503
572 514
573 503
574 517
575 503
576 503
577 517
578 514
579 518
580 517
581 518
582 514
583 514
584 514
585 514
586 514
587 514
588 514
589 514
590 517
591 532
592 517
593 514
594 514
595 514
596 514
597 514
598 517
599 532
600 532
601 532
602 519
603 503
604 514
606 514
607 514
630 558
631 558
632 558
633 558
634 558
635 558
637 518