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

Query time 0.00105

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "51.07"
    },
    "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": 90,
          "rows_produced_per_join": 90,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "10.57",
            "eval_cost": "9.00",
            "prefix_cost": "19.57",
            "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": [
            "test2_gaseus.gp.product_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 90,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "22.50",
            "eval_cost": "9.00",
            "prefix_cost": "51.07",
            "data_read_per_join": "587K"
          },
          "used_columns": [
            "product_id",
            "company_id"
          ]
        }
      }
    ]
  }
}

Result

product_id parent_product_id group_id company_id
12348 12259 851 1
12347 12259 851 1
12346 12259 851 1
12345 12259 851 1
12344 12259 851 1
12343 12259 851 1
12342 12259 851 1
12341 12259 851 1
12340 12259 851 1
12339 12259 851 1
12338 12259 851 1
12337 12259 851 1
12336 12259 851 1
12335 12259 851 1
12334 12259 851 1
12333 12259 851 1
12332 12259 851 1
12331 12259 851 1
12330 12259 851 1
12329 12259 851 1
12328 12259 851 1
12327 12259 851 1
12326 12259 851 1
12325 12259 851 1
12324 12259 851 1
12323 12259 851 1
12322 12259 851 1
12321 12259 851 1
12320 12259 851 1
12319 12259 851 1
12318 12259 851 1
12317 12259 851 1
12316 12259 851 1
12315 12259 851 1
12314 12259 851 1
12313 12259 851 1
12312 12259 851 1
12311 12259 851 1
12310 12259 851 1
12309 12259 851 1
12308 12259 851 1
12307 12259 851 1
12306 12259 851 1
12305 12259 851 1
12304 12259 851 1
12303 12259 851 1
12302 12259 851 1
12301 12259 851 1
12300 12259 851 1
12299 12259 851 1
12298 12259 851 1
12297 12259 851 1
12296 12259 851 1
12295 12259 851 1
12294 12259 851 1
12293 12259 851 1
12292 12259 851 1
12291 12259 851 1
12290 12259 851 1
12289 12259 851 1
12288 12259 851 1
12287 12259 851 1
12286 12259 851 1
12285 12259 851 1
12284 12259 851 1
12283 12259 851 1
12282 12259 851 1
12281 12259 851 1
12280 12259 851 1
12279 12259 851 1
12278 12259 851 1
12277 12259 851 1
12276 12259 851 1
12275 12259 851 1
12274 12259 851 1
12273 12259 851 1
12272 12259 851 1
12271 12259 851 1
12270 12259 851 1
12269 12259 851 1
12268 12259 851 1
12267 12259 851 1
12266 12259 851 1
12265 12259 851 1
12264 12259 851 1
12263 12259 851 1
12262 12259 851 1
12261 12259 851 1
12260 12259 851 1
12259 0 851 1