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

Query time 0.00072

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "72.63"
    },
    "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": 127,
          "rows_produced_per_join": 127,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "15.49",
            "eval_cost": "12.70",
            "prefix_cost": "28.19",
            "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": 127,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "31.75",
            "eval_cost": "12.70",
            "prefix_cost": "72.64",
            "data_read_per_join": "829K"
          },
          "used_columns": [
            "product_id",
            "company_id"
          ]
        }
      }
    ]
  }
}

Result

product_id parent_product_id group_id company_id
11360 11320 837 1
11359 11320 837 1
11358 11320 837 1
11357 11320 837 1
11356 11320 837 1
11355 11320 837 1
11354 11320 837 1
11353 11320 837 1
11352 11320 837 1
11351 11320 837 1
11350 11320 837 1
11349 11320 837 1
11348 11320 837 1
11347 11320 837 1
11346 11320 837 1
11345 11320 837 1
11344 11320 837 1
11343 11320 837 1
11342 11320 837 1
11341 11320 837 1
11340 11320 837 1
11339 11320 837 1
11338 11320 837 1
11337 11320 837 1
11336 11320 837 1
11335 11320 837 1
11334 11320 837 1
11333 11320 837 1
11332 11320 837 1
11331 11320 837 1
11330 11320 837 1
11329 11320 837 1
11328 11320 837 1
11327 11320 837 1
11326 11320 837 1
11325 11320 837 1
11324 11320 837 1
11323 11320 837 1
11322 11320 837 1
11321 11320 837 1
11409 11320 837 1
11408 11320 837 1
11407 11320 837 1
11406 11320 837 1
11405 11320 837 1
11404 11320 837 1
11403 11320 837 1
11402 11320 837 1
11401 11320 837 1
11400 11320 837 1
11399 11320 837 1
11398 11320 837 1
11397 11320 837 1
11396 11320 837 1
11395 11320 837 1
11394 11320 837 1
11393 11320 837 1
11392 11320 837 1
11391 11320 837 1
11390 11320 837 1
11389 11320 837 1
11388 11320 837 1
11387 11320 837 1
11386 11320 837 1
11385 11320 837 1
11384 11320 837 1
11383 11320 837 1
11382 11320 837 1
11381 11320 837 1
11380 11320 837 1
11379 11320 837 1
11378 11320 837 1
11377 11320 837 1
11376 11320 837 1
11375 11320 837 1
11374 11320 837 1
11373 11320 837 1
11372 11320 837 1
11371 11320 837 1
11370 11320 837 1
11369 11320 837 1
11368 11320 837 1
11367 11320 837 1
11366 11320 837 1
11365 11320 837 1
11364 11320 837 1
11363 11320 837 1
11362 11320 837 1
11361 11320 837 1
11320 0 837 1