SELECT 
  category_id, 
  parent_id 
FROM 
  q_categories 
WHERE 
  parent_id IN(
    7, 159, 168, 184, 292, 360, 406, 425, 438, 
    445, 519, 596, 367, 619
  )

Query time 0.00058

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "114.81"
    },
    "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": 72,
      "rows_produced_per_join": 72,
      "filtered": "100.00",
      "index_condition": "(`portal`.`q_categories`.`parent_id` in (7,159,168,184,292,360,406,425,438,445,519,596,367,619))",
      "cost_info": {
        "read_cost": "100.41",
        "eval_cost": "14.40",
        "prefix_cost": "114.81",
        "data_read_per_join": "190K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ]
    }
  }
}

Result

category_id parent_id
61 7
147 7
160 159
161 159
162 159
163 159
164 159
165 159
166 159
167 159
495 159
563 159
570 159
169 168
170 168
171 168
172 168
173 168
174 168
175 168
176 168
177 168
179 168
180 168
181 168
182 168
183 168
188 168
244 168
481 168
518 168
521 168
522 168
529 168
531 168
185 184
186 184
187 184
189 184
378 184
411 184
465 184
536 184
558 184
368 367
369 367
370 367
371 367
372 367
373 367
374 367
407 406
408 406
409 406
567 406
568 406
571 406
426 425
427 425
439 438
443 438
454 438
460 438
476 438
479 438
587 438
446 445
520 519
528 519
530 519