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 (
    17225, 13281, 15545, 16498, 16491, 12732, 
    16982, 12731, 16981, 12879, 16330
  )

Query time 0.00219

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": 62,
          "filtered": 100,
          "index_condition": "gp.group_id in (17225,13281,15545,16498,16491,12732,16982,12731,16981,12879,16330)"
        }
      },
      {
        "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
20273 18281 70932 12731
20273 18280 70931 12731
20273 4387 70933 12731
20274 18283 70935 12732
20274 18282 70934 12732
20274 4386 70936 12732
20427 18706 71483 12879
20427 3995 71484 12879
20880 20685 72970 13281
20880 20684 72969 13281
20880 20683 72968 13281
20880 2921 72971 13281
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
24117 40539 84043 16330
24118 40539 84045 16330
24117 40667 84043 16330
24118 40667 84046 16330
24117 40668 84043 16330
24118 40668 84047 16330
24117 40669 84043 16330
24118 40669 84048 16330
24117 40670 84043 16330
24118 40670 84049 16330
24117 40671 84043 16330
24118 40671 84050 16330
24117 40672 84043 16330
24118 40672 84051 16330
24117 40673 84044 16330
24118 40673 84045 16330
24117 40674 84044 16330
24118 40674 84046 16330
24117 40675 84044 16330
24118 40675 84047 16330
24117 40676 84044 16330
24118 40676 84048 16330
24117 40677 84044 16330
24118 40677 84049 16330
24117 40678 84044 16330
24118 40678 84050 16330
24117 40679 84044 16330
24118 40679 84051 16330
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
24741 47008 86290 16981
24741 47098 86291 16981
24742 47009 86292 16982
24742 47099 86293 16982
24980 48998 87124 17225
24980 48999 87125 17225