SELECT 
  parent_id 
FROM 
  cscart_cp_blog_categories 
WHERE 
  category_id IN (6, 7, 8, 9, 10)

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_cp_blog_categories",
      "access_type": "ALL",
      "possible_keys": ["PRIMARY"],
      "rows": 7,
      "filtered": 71.42857361,
      "attached_condition": "cscart_cp_blog_categories.category_id in (6,7,8,9,10)"
    }
  }
}

Result

parent_id
4
4
4
4
4