SELECT 
  category_id, 
  parent_id 
FROM 
  tmall_categories 
WHERE 
  parent_id IN(
    166, 167, 203, 223, 219, 228, 241, 245, 
    250
  )

Query time 0.00769

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.028190165,
    "nested_loop": [
      {
        "table": {
          "table_name": "tmall_categories",
          "access_type": "ALL",
          "possible_keys": ["parent"],
          "loops": 1,
          "rows": 113,
          "cost": 0.028190165,
          "filtered": 32.74336243,
          "attached_condition": "tmall_categories.parent_id in (166,167,203,223,219,228,241,245,250)"
        }
      }
    ]
  }
}

Result

category_id parent_id
165 167
168 167
169 167
170 167
171 167
172 167
174 166
175 166
177 166
196 166
201 167
204 203
211 203
215 203
220 219
221 219
222 219
224 223
225 223
226 223
227 223
229 228
230 228
231 228
232 228
234 166
242 241
243 241
244 241
246 245
247 245
248 245
249 245
251 250
252 250
253 250
254 166