SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(271, 272, 273, 274, 275)

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.006477345,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_categories",
          "access_type": "range",
          "possible_keys": ["parent"],
          "key": "parent",
          "key_length": "3",
          "used_key_parts": ["parent_id"],
          "loops": 1,
          "rows": 5,
          "cost": 0.006477345,
          "filtered": 100,
          "attached_condition": "cscart_categories.parent_id in (271,272,273,274,275)",
          "using_index": true
        }
      }
    ]
  }
}