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 (
    15545, 16498, 16774, 16491, 16982, 16981
  )

Query time 0.00315

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 (15545,16498,16774,16491,16982,16981)"
        }
      },
      {
        "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
23415 33177 81215 15545
23415 33235 81223 15545
23415 33234 81222 15545
23415 33233 81221 15545
23415 33232 81220 15545
23415 33231 81219 15545
23415 33230 81218 15545
23415 33229 81217 15545
23415 33228 81216 15545
24233 41446 84434 16491
24233 41487 84435 16491
24233 41488 84436 16491
24233 41489 84437 16491
24233 41490 84438 16491
24233 41491 84439 16491
24240 41556 84468 16498
24240 33214 84462 16498
24240 41557 84469 16498
24240 41558 84470 16498
24240 41555 84467 16498
24240 41553 84465 16498
24240 41554 84466 16498
24240 41552 84464 16498
24240 41551 84463 16498
24545 44939 85607 16774
24545 44964 85608 16774
24545 44965 85609 16774
24741 47008 86290 16981
24741 47098 86291 16981
24742 47009 86292 16982
24742 47099 86293 16982