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 (
    14616, 12913, 14770, 12908, 12911, 16946, 
    12909, 12907, 13954, 12906, 14809, 
    14213
  )

Query time 0.00333

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": 31,
          "filtered": 100,
          "index_condition": "gp.group_id in (14616,12913,14770,12908,12911,16946,12909,12907,13954,12906,14809,14213)"
        }
      },
      {
        "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
20456 18758 71561 12906
20456 3882 71560 12906
20457 18760 71563 12907
20457 18759 71564 12907
20457 3881 71562 12907
20458 18761 71565 12908
20458 3880 71566 12908
20459 18762 71567 12909
20459 3879 71568 12909
20461 18764 71571 12911
20461 3877 71572 12911
20463 18768 71578 12913
20463 18767 71576 12913
20463 3875 71577 12913
21626 1481 75637 13954
21626 23162 75635 13954
21626 23163 75636 13954
21912 24111 76698 14213
21912 1059 76697 14213
22348 382 78331 14616
22348 25767 78332 14616
22517 112 79034 14770
22517 50110 79035 14770
22556 52 79197 14809
22556 26619 79196 14809
24717 49265 86218 16946
24717 49266 86219 16946
24717 49263 86220 16946
24717 49267 87235 16946