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 = 'vi' 
  AND gp.group_id IN (15372)

Query time 0.00747

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "gpf",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "ref": ["const"],
          "rows": 2,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "fl",
          "key_length": "9",
          "used_key_parts": ["feature_id", "lang_code"],
          "ref": ["dev_db.gpf.feature_id", "const"],
          "rows": 18,
          "filtered": 100,
          "index_condition": "pfv.lang_code = 'vi'"
        }
      },
      {
        "table": {
          "table_name": "gp",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "PRIMARY",
          "key_length": "6",
          "used_key_parts": ["product_id", "group_id"],
          "ref": ["dev_db.pfv.product_id", "const"],
          "rows": 1,
          "filtered": 100,
          "using_index": true
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
23249 31966 80612 15372
23249 31967 80612 15372
23249 31968 80612 15372
23249 31969 80612 15372
23249 31970 80612 15372
23249 31973 80613 15372
23249 31971 80613 15372
23249 31972 80613 15372
23249 31974 80613 15372
23249 31975 80613 15372
23249 31977 80614 15372
23249 31980 80614 15372
23249 31976 80614 15372
23249 31978 80614 15372
23249 31979 80614 15372
23249 31982 80615 15372
23249 31984 80615 15372
23249 31981 80615 15372
23249 31983 80615 15372
23249 31985 80615 15372
23249 31872 80616 15372
23249 31986 80616 15372
23249 31987 80616 15372
23249 31988 80616 15372
23249 31989 80616 15372
23250 31966 80617 15372
23250 31971 80617 15372
23250 31976 80617 15372
23250 31981 80617 15372
23250 31986 80617 15372
23250 31872 80618 15372
23250 31967 80618 15372
23250 31972 80618 15372
23250 31977 80618 15372
23250 31982 80618 15372
23250 31968 80619 15372
23250 31978 80619 15372
23250 31983 80619 15372
23250 31973 80619 15372
23250 31987 80619 15372
23250 31969 80620 15372
23250 31974 80620 15372
23250 31979 80620 15372
23250 31984 80620 15372
23250 31988 80620 15372
23250 31970 80621 15372
23250 31975 80621 15372
23250 31985 80621 15372
23250 31989 80621 15372
23250 31980 80621 15372