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 = 'en' 
  AND gp.group_id IN (943, 945, 946)

Query time 0.00216

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "63.64"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 20,
          "rows_produced_per_join": 20,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (943,945,946))",
          "cost_info": {
            "read_cost": "7.76",
            "eval_cost": "2.00",
            "prefix_cost": "9.76",
            "data_read_per_join": "320"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ]
        }
      },
      {
        "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",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "ref": [
            "test2_gaseus.gp.product_id"
          ],
          "rows_examined_per_scan": 7,
          "rows_produced_per_join": 76,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "13.19",
            "eval_cost": "7.63",
            "prefix_cost": "36.95",
            "data_read_per_join": "58K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ],
          "attached_condition": "(`test2_gaseus`.`pfv`.`lang_code` = 'en')"
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "feature_id",
            "group_id"
          ],
          "key_length": "6",
          "ref": [
            "test2_gaseus.pfv.feature_id",
            "test2_gaseus.gp.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 76,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "19.06",
            "eval_cost": "7.63",
            "prefix_cost": "63.64",
            "data_read_per_join": "7K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 13225 1973 943
595 13225 1904 943
622 13225 2497 943
623 13225 2541 943
624 13225 1803 943
625 13225 2122 943
626 13225 2043 943
627 13225 1659 943
628 13225 1660 943
636 13225 2348 943
637 13225 2345 943
646 13225 2370 943
647 13225 2374 943
553 13226 1973 943
595 13226 1905 943
622 13226 2497 943
623 13226 2541 943
624 13226 1803 943
625 13226 2122 943
626 13226 2043 943
627 13226 1659 943
628 13226 1660 943
636 13226 2348 943
637 13226 2345 943
646 13226 2370 943
647 13226 2374 943
553 13227 1973 943
595 13227 1789 943
622 13227 2497 943
623 13227 2541 943
624 13227 1803 943
625 13227 2122 943
626 13227 2043 943
627 13227 1659 943
628 13227 1660 943
636 13227 2348 943
637 13227 2345 943
646 13227 2370 943
647 13227 2374 943
553 13228 1973 943
595 13228 2499 943
622 13228 2497 943
623 13228 2541 943
624 13228 1803 943
625 13228 2122 943
626 13228 2043 943
627 13228 1659 943
628 13228 1660 943
636 13228 2348 943
637 13228 2345 943
646 13228 2370 943
647 13228 2374 943
553 13229 1973 943
595 13229 1787 943
622 13229 2497 943
623 13229 2541 943
624 13229 1803 943
625 13229 2122 943
626 13229 2043 943
627 13229 1659 943
628 13229 1660 943
636 13229 2348 943
637 13229 2345 943
646 13229 2370 943
647 13229 2374 943
553 13230 1973 943
595 13230 1900 943
622 13230 2497 943
623 13230 2541 943
624 13230 1803 943
625 13230 2122 943
626 13230 2043 943
627 13230 1659 943
628 13230 1660 943
636 13230 2348 943
637 13230 2345 943
646 13230 2370 943
647 13230 2374 943
553 13231 1973 943
595 13231 1899 943
622 13231 2497 943
623 13231 2541 943
624 13231 1803 943
625 13231 2122 943
626 13231 2043 943
627 13231 1659 943
628 13231 1660 943
636 13231 2348 943
637 13231 2345 943
646 13231 2370 943
647 13231 2374 943
553 13239 1973 945
595 13239 1904 945
622 13239 2497 945
623 13239 2501 945
624 13239 1803 945
625 13239 2124 945
626 13239 1723 945
627 13239 1659 945
628 13239 1660 945
636 13239 2348 945
637 13239 2345 945
646 13239 2370 945
647 13239 2374 945
553 13240 1973 945
595 13240 1905 945
622 13240 2497 945
623 13240 2501 945
624 13240 1803 945
625 13240 2124 945
626 13240 1723 945
627 13240 1659 945
628 13240 1660 945
636 13240 2348 945
637 13240 2345 945
646 13240 2370 945
647 13240 2374 945
553 13241 1973 945
595 13241 1789 945
622 13241 2497 945
623 13241 2501 945
624 13241 1803 945
625 13241 2124 945
626 13241 1723 945
627 13241 1659 945
628 13241 1660 945
636 13241 2348 945
637 13241 2345 945
646 13241 2370 945
647 13241 2374 945
553 13242 1973 945
595 13242 2499 945
622 13242 2497 945
623 13242 2501 945
624 13242 1803 945
625 13242 2124 945
626 13242 1723 945
627 13242 1659 945
628 13242 1660 945
636 13242 2348 945
637 13242 2345 945
646 13242 2370 945
647 13242 2374 945
553 13243 1973 945
595 13243 1787 945
622 13243 2497 945
623 13243 2501 945
624 13243 1803 945
625 13243 2124 945
626 13243 1723 945
627 13243 1659 945
628 13243 1660 945
636 13243 2348 945
637 13243 2345 945
646 13243 2370 945
647 13243 2374 945
553 13244 1973 945
595 13244 1900 945
622 13244 2497 945
623 13244 2501 945
624 13244 1803 945
625 13244 2124 945
626 13244 1723 945
627 13244 1659 945
628 13244 1660 945
636 13244 2348 945
637 13244 2345 945
646 13244 2370 945
647 13244 2374 945
553 13245 1973 945
595 13245 1899 945
622 13245 2497 945
623 13245 2501 945
624 13245 1803 945
625 13245 2124 945
626 13245 1723 945
627 13245 1659 945
628 13245 1660 945
636 13245 2348 945
637 13245 2345 945
646 13245 2370 945
647 13245 2374 945
553 13246 1973 946
595 13246 1904 946
622 13246 2497 946
623 13246 2501 946
624 13246 1803 946
625 13246 2123 946
626 13246 1879 946
627 13246 1659 946
628 13246 1660 946
636 13246 2348 946
637 13246 2345 946
646 13246 2370 946
647 13246 2374 946
553 13247 1973 946
595 13247 1905 946
622 13247 2497 946
623 13247 2501 946
624 13247 1803 946
625 13247 2123 946
626 13247 1879 946
627 13247 1659 946
628 13247 1660 946
636 13247 2348 946
637 13247 2345 946
646 13247 2370 946
647 13247 2374 946
553 13248 1973 946
595 13248 1789 946
622 13248 2497 946
623 13248 2501 946
624 13248 1803 946
625 13248 2123 946
626 13248 1879 946
627 13248 1659 946
628 13248 1660 946
636 13248 2348 946
637 13248 2345 946
646 13248 2370 946
647 13248 2374 946
553 13249 1973 946
595 13249 2499 946
622 13249 2497 946
623 13249 2501 946
624 13249 1803 946
625 13249 2123 946
626 13249 1879 946
627 13249 1659 946
628 13249 1660 946
636 13249 2348 946
637 13249 2345 946
646 13249 2370 946
647 13249 2374 946
553 13250 1973 946
595 13250 1787 946
622 13250 2497 946
623 13250 2501 946
624 13250 1803 946
625 13250 2123 946
626 13250 1879 946
627 13250 1659 946
628 13250 1660 946
636 13250 2348 946
637 13250 2345 946
646 13250 2370 946
647 13250 2374 946
553 13251 1973 946
595 13251 1900 946
622 13251 2497 946
623 13251 2501 946
624 13251 1803 946
625 13251 2123 946
626 13251 1879 946
627 13251 1659 946
628 13251 1660 946
636 13251 2348 946
637 13251 2345 946
646 13251 2370 946
647 13251 2374 946
553 13252 1973 946
595 13252 1899 946
622 13252 2497 946
623 13252 2501 946
624 13252 1803 946
625 13252 2123 946
626 13252 1879 946
627 13252 1659 946
628 13252 1660 946
636 13252 2348 946
637 13252 2345 946
646 13252 2370 946
647 13252 2374 946