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 (897)

Query time 0.00134

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "42.61"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 14,
          "rows_produced_per_join": 14,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "3.50",
            "eval_cost": "1.40",
            "prefix_cost": "4.90",
            "data_read_per_join": "224"
          },
          "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": 53,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "9.23",
            "eval_cost": "5.34",
            "prefix_cost": "23.93",
            "data_read_per_join": "41K"
          },
          "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",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 53,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "13.34",
            "eval_cost": "5.34",
            "prefix_cost": "42.61",
            "data_read_per_join": "5K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 13014 1973 897
595 13014 1904 897
622 13014 2497 897
623 13014 2501 897
624 13014 1803 897
625 13014 2513 897
626 13014 2031 897
627 13014 1659 897
628 13014 1660 897
636 13014 2348 897
637 13014 2345 897
646 13014 2369 897
647 13014 2373 897
553 13015 1973 897
595 13015 1904 897
622 13015 2497 897
623 13015 2501 897
624 13015 1803 897
625 13015 2513 897
626 13015 2031 897
627 13015 1659 897
628 13015 1660 897
636 13015 2348 897
637 13015 2345 897
646 13015 2370 897
647 13015 2374 897
553 13016 1973 897
595 13016 1905 897
622 13016 2497 897
623 13016 2501 897
624 13016 1803 897
625 13016 2513 897
626 13016 2031 897
627 13016 1659 897
628 13016 1660 897
636 13016 2348 897
637 13016 2345 897
646 13016 2369 897
647 13016 2373 897
553 13017 1973 897
595 13017 1905 897
622 13017 2497 897
623 13017 2501 897
624 13017 1803 897
625 13017 2513 897
626 13017 2031 897
627 13017 1659 897
628 13017 1660 897
636 13017 2348 897
637 13017 2345 897
646 13017 2370 897
647 13017 2374 897
553 13018 1973 897
595 13018 1789 897
622 13018 2497 897
623 13018 2501 897
624 13018 1803 897
625 13018 2513 897
626 13018 2031 897
627 13018 1659 897
628 13018 1660 897
636 13018 2348 897
637 13018 2345 897
646 13018 2369 897
647 13018 2373 897
553 13019 1973 897
595 13019 1789 897
622 13019 2497 897
623 13019 2501 897
624 13019 1803 897
625 13019 2513 897
626 13019 2031 897
627 13019 1659 897
628 13019 1660 897
636 13019 2348 897
637 13019 2345 897
646 13019 2370 897
647 13019 2374 897
553 13020 1973 897
595 13020 2499 897
622 13020 2497 897
623 13020 2501 897
624 13020 1803 897
625 13020 2513 897
626 13020 2031 897
627 13020 1659 897
628 13020 1660 897
636 13020 2348 897
637 13020 2345 897
646 13020 2369 897
647 13020 2373 897
553 13021 1973 897
595 13021 2499 897
622 13021 2497 897
623 13021 2501 897
624 13021 1803 897
625 13021 2513 897
626 13021 2031 897
627 13021 1659 897
628 13021 1660 897
636 13021 2348 897
637 13021 2345 897
646 13021 2370 897
647 13021 2374 897
553 13022 1973 897
595 13022 1787 897
622 13022 2497 897
623 13022 2501 897
624 13022 1803 897
625 13022 2513 897
626 13022 2031 897
627 13022 1659 897
628 13022 1660 897
636 13022 2348 897
637 13022 2345 897
646 13022 2369 897
647 13022 2373 897
553 13023 1973 897
595 13023 1787 897
622 13023 2497 897
623 13023 2501 897
624 13023 1803 897
625 13023 2513 897
626 13023 2031 897
627 13023 1659 897
628 13023 1660 897
636 13023 2348 897
637 13023 2345 897
646 13023 2370 897
647 13023 2374 897
553 13024 1973 897
595 13024 1900 897
622 13024 2497 897
623 13024 2501 897
624 13024 1803 897
625 13024 2513 897
626 13024 2031 897
627 13024 1659 897
628 13024 1660 897
636 13024 2348 897
637 13024 2345 897
646 13024 2369 897
647 13024 2373 897
553 13025 1973 897
595 13025 1900 897
622 13025 2497 897
623 13025 2501 897
624 13025 1803 897
625 13025 2513 897
626 13025 2031 897
627 13025 1659 897
628 13025 1660 897
636 13025 2348 897
637 13025 2345 897
646 13025 2370 897
647 13025 2374 897
553 13026 1973 897
595 13026 1899 897
622 13026 2497 897
623 13026 2501 897
624 13026 1803 897
625 13026 2513 897
626 13026 2031 897
627 13026 1659 897
628 13026 1660 897
636 13026 2348 897
637 13026 2345 897
646 13026 2369 897
647 13026 2373 897
553 13027 1973 897
595 13027 1899 897
622 13027 2497 897
623 13027 2501 897
624 13027 1803 897
625 13027 2513 897
626 13027 2031 897
627 13027 1659 897
628 13027 1660 897
636 13027 2348 897
637 13027 2345 897
646 13027 2370 897
647 13027 2374 897