SELECT 
  gp.*, 
  p.company_id 
FROM 
  cscart_product_variation_group_products AS gp 
  LEFT JOIN cscart_products AS p ON gp.product_id = p.product_id 
WHERE 
  gp.group_id IN (15886)

Query time 0.00106

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "ref",
          "possible_keys": ["idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "ref": ["const"],
          "rows": 15,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "p",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["dev_db.gp.product_id"],
          "rows": 1,
          "filtered": 100
        }
      }
    ]
  }
}

Result

product_id parent_product_id group_id company_id
36764 0 15886 206
37050 36764 15886 206
37051 36764 15886 206
37052 36764 15886 206
37053 36764 15886 206
37054 36764 15886 206
37055 36764 15886 206
37056 36764 15886 206
37057 36764 15886 206
37058 36764 15886 206
37059 36764 15886 206
37060 36764 15886 206
37061 36764 15886 206
37062 36764 15886 206
37063 36764 15886 206
37064 36764 15886 206
37065 36764 15886 206
37066 36764 15886 206