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 (944, 943, 945)

Query time 0.00202

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 (944,943,945))",
          "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 13232 1973 944
595 13232 1904 944
622 13232 2497 944
623 13232 2501 944
624 13232 1803 944
625 13232 2123 944
626 13232 1721 944
627 13232 1659 944
628 13232 1660 944
636 13232 2348 944
637 13232 2345 944
646 13232 2370 944
647 13232 2374 944
553 13233 1973 944
595 13233 1905 944
622 13233 2497 944
623 13233 2501 944
624 13233 1803 944
625 13233 2123 944
626 13233 1721 944
627 13233 1659 944
628 13233 1660 944
636 13233 2348 944
637 13233 2345 944
646 13233 2370 944
647 13233 2374 944
553 13234 1973 944
595 13234 1789 944
622 13234 2497 944
623 13234 2501 944
624 13234 1803 944
625 13234 2123 944
626 13234 1721 944
627 13234 1659 944
628 13234 1660 944
636 13234 2348 944
637 13234 2345 944
646 13234 2370 944
647 13234 2374 944
553 13235 1973 944
595 13235 2499 944
622 13235 2497 944
623 13235 2501 944
624 13235 1803 944
625 13235 2123 944
626 13235 1721 944
627 13235 1659 944
628 13235 1660 944
636 13235 2348 944
637 13235 2345 944
646 13235 2370 944
647 13235 2374 944
553 13236 1973 944
595 13236 1787 944
622 13236 2497 944
623 13236 2501 944
624 13236 1803 944
625 13236 2123 944
626 13236 1721 944
627 13236 1659 944
628 13236 1660 944
636 13236 2348 944
637 13236 2345 944
646 13236 2370 944
647 13236 2374 944
553 13237 1973 944
595 13237 1900 944
622 13237 2497 944
623 13237 2501 944
624 13237 1803 944
625 13237 2123 944
626 13237 1721 944
627 13237 1659 944
628 13237 1660 944
636 13237 2348 944
637 13237 2345 944
646 13237 2370 944
647 13237 2374 944
553 13238 1973 944
595 13238 1899 944
622 13238 2497 944
623 13238 2501 944
624 13238 1803 944
625 13238 2123 944
626 13238 1721 944
627 13238 1659 944
628 13238 1660 944
636 13238 2348 944
637 13238 2345 944
646 13238 2370 944
647 13238 2374 944
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