SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    645, 664, 680, 685, 695, 696, 697, 701, 
    706, 713, 714, 715, 716, 717, 718, 719, 
    720, 736, 737, 740, 743, 749, 751, 752
  ) 
  AND category_id != 414

Query time 0.00080

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "39.76"
    },
    "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": 75,
      "rows_produced_per_join": 75,
      "filtered": "100.00",
      "index_condition": "(`s2cart`.`cscart_categories`.`parent_id` in (645,664,680,685,695,696,697,701,706,713,714,715,716,717,718,719,720,736,737,740,743,749,751,752))",
      "cost_info": {
        "read_cost": "32.26",
        "eval_cost": "7.50",
        "prefix_cost": "39.76",
        "data_read_per_join": "265K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`s2cart`.`cscart_categories`.`category_id` <> 414)"
    }
  }
}

Result

category_id parent_id
660 645
661 645
662 645
663 645
654 645
652 645
651 645
649 645
648 645
646 645
647 645
665 664
666 664
667 664
681 680
682 680
683 680
684 680
690 685
686 685
687 685
688 685
689 685
691 685
692 685
693 685
694 685
698 697
699 697
700 697
702 701
703 701
704 701
705 701
707 706
708 706
709 706
710 706
711 706
712 706
721 720
722 720
723 720
727 720
728 720
729 720
730 720
731 720
732 720
733 720
734 720
735 720
738 737
739 737
741 740
742 740
744 743
745 743
746 743
747 743
748 743
750 749
753 752
754 752
755 752
756 752
757 752