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

Query time 0.00227

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "66.78"
    },
    "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": 21,
          "rows_produced_per_join": 21,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (944,943,938))",
          "cost_info": {
            "read_cost": "8.11",
            "eval_cost": "2.10",
            "prefix_cost": "10.21",
            "data_read_per_join": "336"
          },
          "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": 80,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "13.85",
            "eval_cost": "8.01",
            "prefix_cost": "38.76",
            "data_read_per_join": "61K"
          },
          "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": 80,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "20.02",
            "eval_cost": "8.01",
            "prefix_cost": "66.78",
            "data_read_per_join": "8K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 13198 1973 938
595 13198 1905 938
622 13198 2497 938
623 13198 2501 938
624 13198 1803 938
625 13198 2123 938
626 13198 1879 938
627 13198 1659 938
628 13198 1660 938
636 13198 2348 938
637 13198 2345 938
646 13198 2370 938
647 13198 2374 938
553 13199 1973 938
595 13199 1789 938
622 13199 2497 938
623 13199 2501 938
624 13199 1803 938
625 13199 2123 938
626 13199 1879 938
627 13199 1659 938
628 13199 1660 938
636 13199 2348 938
637 13199 2345 938
646 13199 2370 938
647 13199 2374 938
553 13200 1973 938
595 13200 2499 938
622 13200 2497 938
623 13200 2501 938
624 13200 1803 938
625 13200 2123 938
626 13200 1879 938
627 13200 1659 938
628 13200 1660 938
636 13200 2348 938
637 13200 2345 938
646 13200 2370 938
647 13200 2374 938
553 13201 1973 938
595 13201 1787 938
622 13201 2497 938
623 13201 2501 938
624 13201 1803 938
625 13201 2123 938
626 13201 1879 938
627 13201 1659 938
628 13201 1660 938
636 13201 2348 938
637 13201 2345 938
646 13201 2370 938
647 13201 2374 938
553 13202 1973 938
595 13202 1900 938
622 13202 2497 938
623 13202 2501 938
624 13202 1803 938
625 13202 2123 938
626 13202 1879 938
627 13202 1659 938
628 13202 1660 938
636 13202 2348 938
637 13202 2345 938
646 13202 2370 938
647 13202 2374 938
553 13203 1973 938
595 13203 1899 938
622 13203 2497 938
623 13203 2501 938
624 13203 1803 938
625 13203 2123 938
626 13203 1879 938
627 13203 1659 938
628 13203 1660 938
636 13203 2348 938
637 13203 2345 938
646 13203 2370 938
647 13203 2374 938
553 13197 1973 938
595 13197 1904 938
622 13197 2497 938
623 13197 2501 938
624 13197 1803 938
625 13197 2123 938
626 13197 1879 938
627 13197 1659 938
628 13197 1660 938
636 13197 2348 938
637 13197 2345 938
646 13197 2370 938
647 13197 2374 938
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