SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    821, 827, 823, 852, 829, 836, 825, 862, 
    864, 2539, 2546
  )

Query time 0.00039

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": 44,
      "filtered": 100,
      "index_condition": "cscart_categories.parent_id in (821,827,823,852,829,836,825,862,864,2539,2546)"
    }
  }
}

Result

category_id parent_id
822 821
835 821
838 821
843 821
844 821
845 821
846 821
2593 821
2594 821
824 823
851 823
2597 823
826 825
840 825
842 825
2603 825
828 827
847 827
848 827
849 827
850 827
2595 827
2596 827
830 829
833 829
855 829
837 836
839 836
841 836
856 836
857 836
858 836
859 836
860 836
861 836
2601 836
2602 836
3875 836
853 852
854 852
2598 852
2599 852
2600 852
863 862
865 864
866 864
867 864
868 864
869 864
2591 2539
2592 2546