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 (
    16895, 16925, 16896, 16900, 16903, 16898
  )

Query time 0.00552

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "rows": 40,
          "filtered": 100,
          "index_condition": "gp.group_id in (16895,16925,16896,16900,16903,16898)"
        }
      },
      {
        "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": ["dev_db.gp.group_id"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "idx_product_feature_variant_id",
          "key_length": "12",
          "used_key_parts": ["product_id", "feature_id", "lang_code"],
          "ref": ["dev_db.gp.product_id", "dev_db.gpf.feature_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "pfv.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
24658 46201 86047 16895
24657 46201 86044 16895
24658 46200 86046 16895
24657 46200 86044 16895
24658 46198 86047 16895
24657 46198 86043 16895
24658 46199 86045 16895
24657 46199 86044 16895
24658 46197 86046 16895
24657 46197 86043 16895
24658 46153 86045 16895
24657 46153 86043 16895
24659 46203 86050 16896
24659 46202 86049 16896
24659 46154 86048 16896
24661 46207 86054 16898
24662 46207 86055 16898
24661 46206 86053 16898
24662 46206 86057 16898
24661 46205 86053 16898
24662 46205 86056 16898
24661 46155 86053 16898
24662 46155 86055 16898
24661 46209 86054 16898
24662 46209 86057 16898
24661 46208 86054 16898
24662 46208 86056 16898
24665 46216 86065 16900
24665 46215 86064 16900
24665 46157 86063 16900
24670 46231 86077 16903
24671 46231 86080 16903
24670 46230 86077 16903
24671 46230 86079 16903
24670 46229 86077 16903
24671 46229 86078 16903
24670 46228 86076 16903
24671 46228 86080 16903
24670 46227 86076 16903
24671 46227 86079 16903
24670 46160 86076 16903
24671 46160 86078 16903
24696 46619 86144 16925
24696 46590 86143 16925
24696 46620 86145 16925