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 (
    17084, 12680, 15856, 17111, 17187, 17188, 
    17193, 16756, 16741, 17131, 17113, 
    17094, 15801, 17011
  )

Query time 0.00209

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": 50,
          "filtered": 100,
          "index_condition": "gp.group_id in (17084,12680,15856,17111,17187,17188,17193,16756,16741,17131,17113,17094,15801,17011)"
        }
      },
      {
        "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
20222 18161 70761 12680
20222 4635 70762 12680
23680 36233 82111 15801
23680 36232 82112 15801
23732 36299 82381 15856
23732 36694 82382 15856
24504 44518 85480 16741
24504 44606 85481 16741
24518 44755 85534 16756
24518 44788 85535 16756
24761 47232 86358 17011
24761 47202 86341 17011
24761 47181 86340 17011
24834 47608 86598 17084
24834 47635 86599 17084
24839 47650 86631 17094
24839 47817 86632 17094
24857 47929 86682 17111
24857 47962 86683 17111
24860 47931 86688 17113
24860 47964 86689 17113
24879 48108 86785 17131
24879 48107 86784 17131
24879 48064 86783 17131
24932 48675 86930 17187
24932 48693 86931 17187
24932 48694 86932 17187
24932 48695 86933 17187
24933 48676 86934 17188
24933 48696 86935 17188
24933 48697 86936 17188
24933 48698 86937 17188
24938 48681 86954 17193
24938 48713 86955 17193
24938 48714 86956 17193
24938 48715 86957 17193