SELECT 
  category_id, 
  parent_id 
FROM 
  tmall_categories 
WHERE 
  parent_id IN(235, 236, 240, 238, 237)

Query time 0.00915

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.009852997,
    "nested_loop": [
      {
        "table": {
          "table_name": "tmall_categories",
          "access_type": "range",
          "possible_keys": ["parent"],
          "key": "parent",
          "key_length": "3",
          "used_key_parts": ["parent_id"],
          "loops": 1,
          "rows": 5,
          "cost": 0.009852997,
          "filtered": 100,
          "index_condition": "tmall_categories.parent_id in (235,236,240,238,237)"
        }
      }
    ]
  }
}