SELECT 
  category_id, 
  parent_id 
FROM 
  categories 
WHERE 
  parent_id IN(
    691, 688, 682, 681, 678, 675, 676, 653, 
    700, 699, 647, 662, 680, 701, 695, 694, 
    666, 11343, 708, 12848, 692, 669, 646, 
    689, 690, 661, 655, 667, 658, 648, 702, 
    684, 707, 670, 663, 1190, 698, 683, 693, 
    645, 11334, 11601, 679, 709
  )

Query time 0.00118

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.51"
    },
    "table": {
      "table_name": "categories",
      "access_type": "range",
      "possible_keys": [
        "parent"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 84,
      "rows_produced_per_join": 84,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "9.11",
        "eval_cost": "8.40",
        "prefix_cost": "17.51",
        "data_read_per_join": "219K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`goimagine`.`categories`.`parent_id` in (691,688,682,681,678,675,676,653,700,699,647,662,680,701,695,694,666,11343,708,12848,692,669,646,689,690,661,655,667,658,648,702,684,707,670,663,1190,698,683,693,645,11334,11601,679,709))"
    }
  }
}

Result

category_id parent_id
646 645
647 645
648 645
653 645
655 645
658 645
661 645
675 645
678 645
680 645
682 645
684 645
690 645
701 645
707 645
670 648
671 648
673 653
674 653
694 655
696 655
662 661
663 661
664 661
665 661
666 661
667 661
668 661
669 661
11600 661
676 675
12848 675
692 680
699 681
700 682
708 682
681 683
688 683
689 683
691 683
695 693
697 693
702 701
703 701
11335 11334
11336 11334
11337 11334
11338 11334
11339 11334
11340 11334
11341 11334
11343 11334
11344 11334