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

Query time 0.00100

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "71.28"
    },
    "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": 124,
          "rows_produced_per_join": 124,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "15.49",
            "eval_cost": "12.40",
            "prefix_cost": "27.89",
            "data_read_per_join": "1K"
          },
          "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": [
            "gaseus.gp.product_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 124,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "31.00",
            "eval_cost": "12.40",
            "prefix_cost": "71.29",
            "data_read_per_join": "809K"
          },
          "used_columns": [
            "product_id",
            "company_id"
          ]
        }
      }
    ]
  }
}

Result

product_id parent_product_id group_id company_id
7464 3505 806 1
7465 3505 806 1
7466 3505 806 1
7467 3505 806 1
7468 3505 806 1
7469 3505 806 1
7470 3505 806 1
7478 3505 806 1
7479 3505 806 1
7480 3505 806 1
7481 3505 806 1
7482 3505 806 1
7483 3505 806 1
470 3505 806 1
482 3505 806 1
483 3505 806 1
484 3505 806 1
3645 3505 806 1
485 3505 806 1
3646 3505 806 1
486 3505 806 1
3647 3505 806 1
3648 3505 806 1
3632 3505 806 1
3627 3505 806 1
465 3505 806 1
3628 3505 806 1
466 3505 806 1
467 3505 806 1
468 3505 806 1
471 3505 806 1
478 3505 806 1
479 3505 806 1
3640 3505 806 1
3641 3505 806 1
480 3505 806 1
3642 3505 806 1
469 3505 806 1
3629 3505 806 1
3630 3505 806 1
3631 3505 806 1
475 3505 806 1
476 3505 806 1
3637 3505 806 1
3638 3505 806 1
477 3505 806 1
3639 3505 806 1
472 3505 806 1
3633 3505 806 1
473 3505 806 1
3634 3505 806 1
3635 3505 806 1
3636 3505 806 1
474 3505 806 1
3643 3505 806 1
481 3505 806 1
3644 3505 806 1
3649 3505 806 1
487 3505 806 1
3650 3505 806 1
489 3505 806 1
488 3505 806 1
3651 3505 806 1
3652 3505 806 1
490 3505 806 1
3504 3505 806 1
3506 3505 806 1
504 3505 806 1
3665 3505 806 1
505 3505 806 1
3666 3505 806 1
3667 3505 806 1
3668 3505 806 1
506 3505 806 1
3669 3505 806 1
507 3505 806 1
3670 3505 806 1
508 3505 806 1
509 3505 806 1
510 3505 806 1
3671 3505 806 1
3854 3505 806 1
3855 3505 806 1
2973 3505 806 1
2974 3505 806 1
3856 3505 806 1
2975 3505 806 1
3656 3505 806 1
3657 3505 806 1
494 3505 806 1
495 3505 806 1
496 3505 806 1
3658 3505 806 1
3659 3505 806 1
497 3505 806 1
3660 3505 806 1
498 3505 806 1
499 3505 806 1
500 3505 806 1
3661 3505 806 1
423 3505 806 1
3623 3505 806 1
424 3505 806 1
3624 3505 806 1
3625 3505 806 1
4231 3505 806 1
425 3505 806 1
491 3505 806 1
492 3505 806 1
3653 3505 806 1
3654 3505 806 1
493 3505 806 1
3655 3505 806 1
516 3505 806 1
517 3505 806 1
3677 3505 806 1
3678 3505 806 1
518 3505 806 1
4271 3505 806 1
3662 3505 806 1
3663 3505 806 1
501 3505 806 1
502 3505 806 1
3664 3505 806 1
503 3505 806 1
3508 3505 806 1
3507 3505 806 1
3510 3505 806 1
3509 3505 806 1
3505 0 806 1