SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(306, 307, 282, 286, 291)

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.70"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "ALL",
      "possible_keys": [
        "parent"
      ],
      "rows_examined_per_scan": 40,
      "rows_produced_per_join": 20,
      "filtered": "50.00",
      "cost_info": {
        "read_cost": "2.70",
        "eval_cost": "2.00",
        "prefix_cost": "4.70",
        "data_read_per_join": "80K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`gaseus`.`cscart_categories`.`parent_id` in (306,307,282,286,291))"
    }
  }
}

Result

category_id parent_id
309 291
283 282
292 291
287 286
293 291
288 286
284 282
285 282
289 286
294 291
290 291
301 282
295 291
300 291
302 291
303 291
304 291
305 291