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 (950, 893)

Query time 0.00222

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "69.67"
    },
    "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": 22,
          "rows_produced_per_join": 22,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (950,893))",
          "cost_info": {
            "read_cost": "8.21",
            "eval_cost": "2.20",
            "prefix_cost": "10.41",
            "data_read_per_join": "352"
          },
          "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": 83,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "14.51",
            "eval_cost": "8.39",
            "prefix_cost": "40.32",
            "data_read_per_join": "64K"
          },
          "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": 83,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "20.97",
            "eval_cost": "8.39",
            "prefix_cost": "69.67",
            "data_read_per_join": "8K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12969 1973 893
595 12969 1787 893
622 12969 2497 893
623 12969 2501 893
624 12969 1803 893
625 12969 2123 893
626 12969 1721 893
627 12969 1659 893
628 12969 1660 893
636 12969 2348 893
637 12969 2345 893
646 12969 2370 893
647 12969 2374 893
553 12970 1973 893
595 12970 1900 893
622 12970 2497 893
623 12970 2501 893
624 12970 1803 893
625 12970 2123 893
626 12970 1721 893
627 12970 1659 893
628 12970 1660 893
636 12970 2348 893
637 12970 2345 893
646 12970 2369 893
647 12970 2373 893
553 12971 1973 893
595 12971 1900 893
622 12971 2497 893
623 12971 2501 893
624 12971 1803 893
625 12971 2123 893
626 12971 1721 893
627 12971 1659 893
628 12971 1660 893
636 12971 2348 893
637 12971 2345 893
646 12971 2370 893
647 12971 2374 893
553 12972 1973 893
595 12972 1899 893
622 12972 2497 893
623 12972 2501 893
624 12972 1803 893
625 12972 2123 893
626 12972 1721 893
627 12972 1659 893
628 12972 1660 893
636 12972 2348 893
637 12972 2345 893
646 12972 2369 893
647 12972 2373 893
553 12973 1973 893
595 12973 1899 893
622 12973 2497 893
623 12973 2501 893
624 12973 1803 893
625 12973 2123 893
626 12973 1721 893
627 12973 1659 893
628 12973 1660 893
636 12973 2348 893
637 12973 2345 893
646 12973 2370 893
647 12973 2374 893
553 12960 1973 893
595 12960 1904 893
622 12960 2497 893
623 12960 2501 893
624 12960 1803 893
625 12960 2123 893
626 12960 1721 893
627 12960 1659 893
628 12960 1660 893
636 12960 2348 893
637 12960 2345 893
646 12960 2369 893
647 12960 2373 893
553 12961 1973 893
595 12961 1904 893
622 12961 2497 893
623 12961 2501 893
624 12961 1803 893
625 12961 2123 893
626 12961 1721 893
627 12961 1659 893
628 12961 1660 893
636 12961 2348 893
637 12961 2345 893
646 12961 2370 893
647 12961 2374 893
553 12962 1973 893
595 12962 1905 893
622 12962 2497 893
623 12962 2501 893
624 12962 1803 893
625 12962 2123 893
626 12962 1721 893
627 12962 1659 893
628 12962 1660 893
636 12962 2348 893
637 12962 2345 893
646 12962 2369 893
647 12962 2373 893
553 12963 1973 893
595 12963 1905 893
622 12963 2497 893
623 12963 2501 893
624 12963 1803 893
625 12963 2123 893
626 12963 1721 893
627 12963 1659 893
628 12963 1660 893
636 12963 2348 893
637 12963 2345 893
646 12963 2370 893
647 12963 2374 893
553 12964 1973 893
595 12964 1789 893
622 12964 2497 893
623 12964 2501 893
624 12964 1803 893
625 12964 2123 893
626 12964 1721 893
627 12964 1659 893
628 12964 1660 893
636 12964 2348 893
637 12964 2345 893
646 12964 2369 893
647 12964 2373 893
553 12965 1973 893
595 12965 1789 893
622 12965 2497 893
623 12965 2501 893
624 12965 1803 893
625 12965 2123 893
626 12965 1721 893
627 12965 1659 893
628 12965 1660 893
636 12965 2348 893
637 12965 2345 893
646 12965 2370 893
647 12965 2374 893
553 12966 1973 893
595 12966 2499 893
622 12966 2497 893
623 12966 2501 893
624 12966 1803 893
625 12966 2123 893
626 12966 1721 893
627 12966 1659 893
628 12966 1660 893
636 12966 2348 893
637 12966 2345 893
646 12966 2369 893
647 12966 2373 893
553 12967 1973 893
595 12967 2499 893
622 12967 2497 893
623 12967 2501 893
624 12967 1803 893
625 12967 2123 893
626 12967 1721 893
627 12967 1659 893
628 12967 1660 893
636 12967 2348 893
637 12967 2345 893
646 12967 2370 893
647 12967 2374 893
553 12968 1973 893
595 12968 1787 893
622 12968 2497 893
623 12968 2501 893
624 12968 1803 893
625 12968 2123 893
626 12968 1721 893
627 12968 1659 893
628 12968 1660 893
636 12968 2348 893
637 12968 2345 893
646 12968 2369 893
647 12968 2373 893
553 13281 1912 950
595 13281 2451 950
622 13281 2559 950
623 13281 2524 950
624 13281 1694 950
625 13281 2413 950
626 13281 1926 950
627 13281 2290 950
628 13281 1660 950
636 13281 2344 950
637 13281 2345 950
553 13282 1912 950
595 13282 1787 950
622 13282 2559 950
623 13282 2524 950
624 13282 1694 950
625 13282 2413 950
626 13282 1926 950
627 13282 2290 950
628 13282 1660 950
636 13282 2344 950
637 13282 2345 950
553 13283 1912 950
595 13283 1905 950
622 13283 2559 950
623 13283 2524 950
624 13283 1694 950
625 13283 2413 950
626 13283 1926 950
627 13283 2290 950
628 13283 1660 950
636 13283 2344 950
637 13283 2345 950
553 13284 1912 950
595 13284 1900 950
622 13284 2559 950
623 13284 2524 950
624 13284 1694 950
625 13284 2413 950
626 13284 1926 950
627 13284 2290 950
628 13284 1660 950
636 13284 2344 950
637 13284 2345 950
553 13285 1912 950
595 13285 1462 950
622 13285 2559 950
623 13285 2524 950
624 13285 1694 950
625 13285 2413 950
626 13285 1926 950
627 13285 2290 950
628 13285 1660 950
636 13285 2344 950
637 13285 2345 950
553 13280 1912 950
595 13280 1904 950
622 13280 2559 950
623 13280 2524 950
624 13280 1694 950
625 13280 2413 950
626 13280 1926 950
627 13280 2290 950
628 13280 1660 950
636 13280 2344 950
637 13280 2345 950