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 (
    14637, 12654, 14636, 13375, 13778, 14944, 
    14951, 13598, 13343, 14600, 13594, 
    16436, 14828, 16662
  )

Query time 0.08851

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": 44,
          "filtered": 100,
          "index_condition": "gp.group_id in (14637,12654,14636,13375,13778,14944,14951,13598,13343,14600,13594,16436,14828,16662)"
        }
      },
      {
        "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
20186 17997 70638 12654
20186 17993 70637 12654
20186 17992 70636 12654
20186 17991 70635 12654
20186 17990 70634 12654
20186 4823 70634 12654
20950 20844 73187 13343
20950 20843 73186 13343
20950 20842 73185 13343
20950 2626 73188 13343
20982 20935 73311 13375
20982 2565 73310 13375
21211 21747 74204 13594
21211 21746 74203 13594
21211 2171 74205 13594
21215 21752 74213 13598
21215 21751 74212 13598
21215 2155 74214 13598
21419 22513 74938 13778
21419 1850 74939 13778
22332 25726 78274 14600
22332 25725 78273 14600
22332 25724 78272 14600
22332 25723 78271 14600
22332 25722 78270 14600
22332 406 78275 14600
22369 25852 78429 14636
22369 25851 78428 14636
22369 351 78430 14636
22370 25855 78433 14637
22370 350 78434 14637
22569 2250 79220 14828
22569 27213 79222 14828
22569 27212 79221 14828
22828 26858 79638 14944
22828 27052 79639 14944
22835 26848 79652 14951
22835 27059 79653 14951
24191 42361 84766 16436
24191 37904 84291 16436
24191 41130 84292 16436
24191 41131 84293 16436
24436 4579 85225 16662
24436 43798 85226 16662