SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    3868, 3842, 3843, 3837, 3733, 3848, 1090, 
    3851, 3869, 3732, 3798, 3790, 3726, 
    3867, 3834, 1089, 3835, 3836, 2331, 
    3847, 3855, 3856, 3866, 1088, 2330, 
    3841
  )

Query time 0.00041

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": 79,
      "filtered": 100,
      "index_condition": "cscart_categories.parent_id in (3868,3842,3843,3837,3733,3848,1090,3851,3869,3732,3798,3790,3726,3867,3834,1089,3835,3836,2331,3847,3855,3856,3866,1088,2330,3841)"
    }
  }
}

Result

category_id parent_id
3740 1090
3741 1090
3803 2330
3814 2330
3819 2330
3823 2330
3826 2331
3827 2331
3828 2331
3829 2331
3830 2331
3831 2331
3832 2331
3833 2331
3729 3726
3728 3726
3727 3726
3730 3726
3731 3726
3860 3726
3857 3732
3858 3732
3859 3732
3734 3733
3735 3733
3736 3733
3737 3733
3738 3733
3739 3733
3861 3790
3862 3790
3863 3790
3864 3790
3799 3798
3800 3798
3801 3798
3802 3798
3838 3837
3839 3837
3840 3837
3849 3848
3850 3848
3852 3851
3853 3851
3854 3851