SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(3251, 3252, 3253, 3254)

Query time 0.00021

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": 19,
      "filtered": 100,
      "index_condition": "cscart_categories.parent_id in (3251,3252,3253,3254)"
    }
  }
}

Result

category_id parent_id
3255 3251
3256 3251
3257 3251
3258 3251
3259 3251
3260 3252
3261 3252
3262 3252
3263 3252
3264 3252
3265 3252
3266 3253
3267 3253
3268 3253
3269 3253
3270 3253
3271 3253
3272 3254
3273 3254
3274 3254
3275 3254
3276 3254
3277 3254