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 (
    16784, 16641, 15748, 15847, 15750, 15584, 
    17086, 16830, 16329, 16328
  )

Query time 0.03214

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": 58,
          "filtered": 100,
          "index_condition": "gp.group_id in (16784,16641,15748,15847,15750,15584,17086,16830,16329,16328)"
        }
      },
      {
        "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
23456 33466 81385 15584
23456 33562 81386 15584
23456 33563 81387 15584
23456 33564 81388 15584
23456 33565 81389 15584
23627 35686 81930 15748
23627 35881 81931 15748
23627 35882 81932 15748
23627 35883 81933 15748
23627 35884 81934 15748
23627 35885 81935 15748
23627 35886 81936 15748
23629 35712 81947 15750
23629 35939 81948 15750
23629 35940 81949 15750
23724 36519 82349 15847
23724 36652 82350 15847
24115 40660 84035 16328
24115 40659 84034 16328
24115 40658 84033 16328
24115 40657 84032 16328
24115 40537 84031 16328
24116 40665 84041 16329
24116 40666 84042 16329
24116 40538 84036 16329
24116 40664 84040 16329
24116 40663 84039 16329
24116 40662 84038 16329
24116 40661 84037 16329
24421 43562 85130 16641
24421 43561 85129 16641
24421 43560 85128 16641
24421 43477 85127 16641
24557 44876 85649 16784
24557 45036 85651 16784
24557 45035 85650 16784
24557 45037 85652 16784
24557 45038 85653 16784
24557 45039 85654 16784
24557 45040 85655 16784
24557 45041 85658 16784
24557 45042 85656 16784
24557 45043 85657 16784
24604 45405 85859 16830
24604 45293 85858 16830
24835 47651 86600 17086
24835 47680 86601 17086
24835 47681 86602 17086
24835 47682 86603 17086
24835 47683 86604 17086
24835 47684 86605 17086