SELECT 
  category_id, 
  parent_id 
FROM 
  q_categories 
WHERE 
  parent_id IN(13, 50, 95, 555, 582, 604)

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.21"
    },
    "table": {
      "table_name": "q_categories",
      "access_type": "range",
      "possible_keys": [
        "parent"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 23,
      "rows_produced_per_join": 23,
      "filtered": "100.00",
      "index_condition": "(`portal`.`q_categories`.`parent_id` in (13,50,95,555,582,604))",
      "cost_info": {
        "read_cost": "33.61",
        "eval_cost": "4.60",
        "prefix_cost": "38.21",
        "data_read_per_join": "60K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ]
    }
  }
}

Result

category_id parent_id
14 13
15 13
38 13
44 13
51 50
68 50
77 50
84 50
96 95
97 95
98 95
597 95
564 555
91 604
605 604
607 604