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

Query time 0.00088

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "122.40"
    },
    "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": 51,
          "rows_produced_per_join": 51,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "51.00",
            "eval_cost": "10.20",
            "prefix_cost": "61.20",
            "data_read_per_join": "816"
          },
          "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": 51,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "51.00",
            "eval_cost": "10.20",
            "prefix_cost": "122.40",
            "data_read_per_join": "398K"
          },
          "used_columns": [
            "product_id",
            "company_id"
          ]
        }
      }
    ]
  }
}

Result

product_id parent_product_id group_id company_id
149042 0 2006 174
149050 149042 2006 174
149051 149042 2006 174
149052 149042 2006 174
149053 149042 2006 174
149054 149042 2006 174
149055 149042 2006 174
149056 149042 2006 174
149057 149042 2006 174
149058 149042 2006 174
149059 149042 2006 174
149060 149042 2006 174
149061 149042 2006 174
149062 149042 2006 174
149063 149042 2006 174
149064 149042 2006 174
149065 149042 2006 174
149066 149042 2006 174
149067 149042 2006 174
149068 149042 2006 174
149069 149042 2006 174
149070 149042 2006 174
149071 149042 2006 174
149072 149042 2006 174
149073 149042 2006 174
149074 149042 2006 174
149075 149042 2006 174
149076 149042 2006 174
149077 149042 2006 174
149078 149042 2006 174
149079 149042 2006 174
149080 149042 2006 174
149081 149042 2006 174
149082 149042 2006 174
149083 149042 2006 174
149084 149042 2006 174
149085 149042 2006 174
149086 149042 2006 174
149087 149042 2006 174
149088 149042 2006 174
149089 149042 2006 174
149090 149042 2006 174
149091 149042 2006 174
149092 149042 2006 174
149093 149042 2006 174
149094 149042 2006 174
149095 149042 2006 174
149096 149042 2006 174
149097 149042 2006 174
149098 149042 2006 174
149099 149042 2006 174