SELECT 
  pfv.feature_id, 
  pfv.product_id, 
  pfv.variant_id, 
  gp.group_id 
FROM 
  cscart_product_features_values AS pfv 
  INNER JOIN cscart_product_variation_group_products AS gp ON pfv.product_id = gp.product_id 
  INNER JOIN cscart_product_variation_group_features AS gpf ON gpf.group_id = gp.group_id 
  AND gpf.feature_id = pfv.feature_id 
WHERE 
  pfv.lang_code = 'en' 
  AND gp.group_id IN (
    598, 597, 589, 600, 594, 596, 595, 599, 
    591, 603, 593, 592, 601, 602, 686, 678, 
    618, 680
  )

Query time 0.00120

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "49.36"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 39,
          "rows_produced_per_join": 39,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`gp`.`group_id` in (598,597,589,600,594,596,595,599,591,603,593,592,601,602,686,678,618,680))",
          "cost_info": {
            "read_cost": "18.16",
            "eval_cost": "3.90",
            "prefix_cost": "22.06",
            "data_read_per_join": "624"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.gp.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 39,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "9.75",
            "eval_cost": "3.90",
            "prefix_cost": "35.71",
            "data_read_per_join": "3K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "fpl",
          "used_key_parts": [
            "feature_id",
            "product_id",
            "lang_code"
          ],
          "key_length": "12",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.gpf.feature_id",
            "softwarepirmam_hewadelivard_cscart_4.gp.product_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 39,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "9.75",
            "eval_cost": "3.90",
            "prefix_cost": "49.36",
            "data_read_per_join": "30K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
735 5329 7024 589
735 5328 7021 589
735 5330 7025 589
735 5333 7021 591
735 5334 7024 591
735 5335 7037 592
735 5336 7041 592
735 5363 7037 593
735 5364 7041 593
735 5365 7082 594
735 5366 7024 594
735 5367 7086 595
735 5368 7090 595
735 5456 7220 596
735 5457 7224 596
735 5458 7086 597
735 5459 7090 597
735 5460 7228 597
735 5461 7086 598
735 5462 7090 598
735 5463 7228 598
735 5500 7297 599
735 5501 7303 599
735 5502 7297 600
735 5503 7303 600
735 5504 7308 601
735 5505 7311 601
735 5506 7232 602
735 5507 7314 602
735 5594 7407 603
735 5595 7415 603
735 5647 7471 618
735 5648 7475 618
735 6114 7453 678
735 6115 7456 678
735 6146 7308 680
735 6147 7311 680
735 6185 7828 686
735 6186 7830 686