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, 594, 596, 595, 599, 592, 
    601, 602, 672, 617, 700, 703, 704, 702
  )

Query time 0.00186

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "44.26"
    },
    "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": 35,
          "rows_produced_per_join": 35,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`gp`.`group_id` in (598,597,589,594,596,595,599,592,601,602,672,617,700,703,704,702))",
          "cost_info": {
            "read_cost": "16.26",
            "eval_cost": "3.50",
            "prefix_cost": "19.76",
            "data_read_per_join": "560"
          },
          "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": 35,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "8.75",
            "eval_cost": "3.50",
            "prefix_cost": "32.01",
            "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": 35,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "8.75",
            "eval_cost": "3.50",
            "prefix_cost": "44.26",
            "data_read_per_join": "27K"
          },
          "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 5335 7037 592
735 5336 7041 592
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 5504 7308 601
735 5505 7311 601
735 5506 7232 602
735 5507 7314 602
735 5644 7471 617
735 5645 7475 617
656 6081 1559 672
656 6082 1560 672
735 6297 7407 700
735 6298 7415 700
735 6301 7407 702
735 6302 7415 702
735 6304 8093 703
735 6303 8089 703
735 6306 8095 704
735 6305 8094 704