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 (10694)

Query time 0.00082

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "105.60"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "ref",
          "possible_keys": [
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 44,
          "rows_produced_per_join": 44,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "44.00",
            "eval_cost": "8.80",
            "prefix_cost": "52.80",
            "data_read_per_join": "704"
          },
          "used_columns": [
            "product_id",
            "parent_product_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "p",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "ref": [
            "webmarco.gp.product_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 44,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "44.00",
            "eval_cost": "8.80",
            "prefix_cost": "105.60",
            "data_read_per_join": "344K"
          },
          "used_columns": [
            "product_id",
            "company_id"
          ]
        }
      }
    ]
  }
}

Result

product_id parent_product_id group_id company_id
431615 0 10694 676
431616 431615 10694 676
431617 431615 10694 676
431618 431615 10694 676
431619 431615 10694 676
431620 431615 10694 676
431621 431615 10694 676
431622 431615 10694 676
431623 431615 10694 676
431624 431615 10694 676
431625 431615 10694 676
431626 431615 10694 676
431627 431615 10694 676
431628 431615 10694 676
431629 431615 10694 676
431630 431615 10694 676
431631 431615 10694 676
431632 431615 10694 676
431633 431615 10694 676
431634 431615 10694 676
431635 431615 10694 676
431636 431615 10694 676
431637 431615 10694 676
431638 431615 10694 676
431639 431615 10694 676
431640 431615 10694 676
431641 431615 10694 676
431642 431615 10694 676
431643 431615 10694 676
431644 431615 10694 676
431645 431615 10694 676
431646 431615 10694 676
431647 431615 10694 676
431648 431615 10694 676
431649 431615 10694 676
431650 431615 10694 676
431651 431615 10694 676
431652 431615 10694 676
431653 431615 10694 676
431654 431615 10694 676
431655 431615 10694 676
431656 431615 10694 676
431657 431615 10694 676
431658 431615 10694 676