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, 947)

Query time 0.00235

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "73.07"
    },
    "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": 23,
          "rows_produced_per_join": 23,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (944,943,947))",
          "cost_info": {
            "read_cost": "8.81",
            "eval_cost": "2.30",
            "prefix_cost": "11.11",
            "data_read_per_join": "368"
          },
          "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": 87,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "15.17",
            "eval_cost": "8.77",
            "prefix_cost": "42.38",
            "data_read_per_join": "67K"
          },
          "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": 87,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "21.92",
            "eval_cost": "8.77",
            "prefix_cost": "73.07",
            "data_read_per_join": "8K"
          },
          "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 13253 1973 947
595 13253 1904 947
622 13253 2497 947
623 13253 2501 947
624 13253 1803 947
625 13253 2124 947
626 13253 1829 947
627 13253 1659 947
628 13253 1660 947
636 13253 2348 947
637 13253 2345 947
646 13253 2370 947
647 13253 2374 947
553 13254 1973 947
595 13254 1905 947
622 13254 2497 947
623 13254 2501 947
624 13254 1803 947
625 13254 2124 947
626 13254 1829 947
627 13254 1659 947
628 13254 1660 947
636 13254 2348 947
637 13254 2345 947
646 13254 2370 947
647 13254 2374 947
553 13255 1973 947
595 13255 1789 947
622 13255 2497 947
623 13255 2501 947
624 13255 1803 947
625 13255 2124 947
626 13255 1829 947
627 13255 1659 947
628 13255 1660 947
636 13255 2348 947
637 13255 2345 947
646 13255 2370 947
647 13255 2374 947
553 13256 1973 947
595 13256 2499 947
622 13256 2497 947
623 13256 2501 947
624 13256 1803 947
625 13256 2124 947
626 13256 1829 947
627 13256 1659 947
628 13256 1660 947
636 13256 2348 947
637 13256 2345 947
646 13256 2370 947
647 13256 2374 947
553 13257 1973 947
595 13257 1787 947
622 13257 2497 947
623 13257 2501 947
624 13257 1803 947
625 13257 2124 947
626 13257 1829 947
627 13257 1659 947
628 13257 1660 947
636 13257 2348 947
637 13257 2345 947
646 13257 2370 947
647 13257 2374 947
553 13258 1973 947
595 13258 1900 947
622 13258 2497 947
623 13258 2501 947
624 13258 1803 947
625 13258 2124 947
626 13258 1829 947
627 13258 1659 947
628 13258 1660 947
636 13258 2348 947
637 13258 2345 947
646 13258 2370 947
647 13258 2374 947
553 13259 1973 947
595 13259 1899 947
622 13259 2497 947
623 13259 2501 947
624 13259 1803 947
625 13259 2124 947
626 13259 1829 947
627 13259 1659 947
628 13259 1660 947
636 13259 2348 947
637 13259 2345 947
646 13259 2370 947
647 13259 2374 947