SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    280, 279, 282, 276, 277, 265, 275, 264, 
    272, 271, 268, 284, 267, 281, 273, 270, 
    283, 269, 274, 266, 278
  )

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_categories",
      "access_type": "ALL",
      "possible_keys": ["parent"],
      "rows": 21,
      "filtered": 100,
      "attached_condition": "(cscart_categories.parent_id in (280,279,282,276,277,265,275,264,272,271,268,284,267,281,273,270,283,269,274,266,278))"
    }
  }
}

Result

category_id parent_id
278 271
279 271
280 271
281 271
282 271
283 271
284 271
277 271
276 271
275 271
274 271
273 271
272 271
270 271
269 271
268 271
264 271
265 271
266 271
267 271