SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(310, 363, 311, 345, 346, 347)

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.61"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "parent"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 9,
      "rows_produced_per_join": 9,
      "filtered": "100.00",
      "index_condition": "(`cscart`.`cscart_categories`.`parent_id` in (310,363,311,345,346,347))",
      "cost_info": {
        "read_cost": "16.81",
        "eval_cost": "1.80",
        "prefix_cost": "18.61",
        "data_read_per_join": "36K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ]
    }
  }
}

Result

category_id parent_id
349 310
348 310
350 310
351 310
352 311
355 311
356 345
357 345
358 345
359 345
360 346
361 347
362 347
364 363
365 363