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 (951, 952)

Query time 0.00115

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "44.52"
    },
    "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": 14,
          "rows_produced_per_join": 14,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (951,952))",
          "cost_info": {
            "read_cost": "5.41",
            "eval_cost": "1.40",
            "prefix_cost": "6.81",
            "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": "25.84",
            "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",
            "test2_gaseus.gp.group_id"
          ],
          "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": "44.52",
            "data_read_per_join": "5K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 13286 1912 951
595 13286 1904 951
622 13286 2559 951
623 13286 2524 951
624 13286 1694 951
625 13286 2122 951
626 13286 1928 951
627 13286 2290 951
628 13286 1712 951
636 13286 2344 951
637 13286 2345 951
553 13289 1912 951
595 13289 1905 951
622 13289 2559 951
623 13289 2524 951
624 13289 1694 951
625 13289 2122 951
626 13289 1928 951
627 13289 2290 951
628 13289 1712 951
636 13289 2344 951
637 13289 2345 951
553 13290 1912 951
595 13290 1900 951
622 13290 2559 951
623 13290 2524 951
624 13290 1694 951
625 13290 2122 951
626 13290 1928 951
627 13290 2290 951
628 13290 1712 951
636 13290 2344 951
637 13290 2345 951
553 13291 1912 951
595 13291 1462 951
622 13291 2559 951
623 13291 2524 951
624 13291 1694 951
625 13291 2122 951
626 13291 1928 951
627 13291 2290 951
628 13291 1712 951
636 13291 2344 951
637 13291 2345 951
553 13287 1912 951
595 13287 2451 951
622 13287 2559 951
623 13287 2524 951
624 13287 1694 951
625 13287 2122 951
626 13287 1928 951
627 13287 2290 951
628 13287 1712 951
636 13287 2344 951
637 13287 2345 951
553 13288 1912 951
595 13288 1787 951
622 13288 2559 951
623 13288 2524 951
624 13288 1694 951
625 13288 2122 951
626 13288 1928 951
627 13288 2290 951
628 13288 1712 951
636 13288 2344 951
637 13288 2345 951
553 13292 1912 952
595 13292 1904 952
622 13292 2559 952
623 13292 2524 952
624 13292 1694 952
625 13292 2413 952
626 13292 1926 952
627 13292 2290 952
628 13292 1712 952
636 13292 2344 952
637 13292 2345 952
553 13295 1912 952
595 13295 1905 952
622 13295 2559 952
623 13295 2524 952
624 13295 1694 952
625 13295 2413 952
626 13295 1926 952
627 13295 2290 952
628 13295 1712 952
636 13295 2344 952
637 13295 2345 952
553 13296 1912 952
595 13296 1900 952
622 13296 2559 952
623 13296 2524 952
624 13296 1694 952
625 13296 2413 952
626 13296 1926 952
627 13296 2290 952
628 13296 1712 952
636 13296 2344 952
637 13296 2345 952
553 13297 1912 952
595 13297 1462 952
622 13297 2559 952
623 13297 2524 952
624 13297 1694 952
625 13297 2413 952
626 13297 1926 952
627 13297 2290 952
628 13297 1712 952
636 13297 2344 952
637 13297 2345 952
553 13294 1912 952
595 13294 1787 952
622 13294 2559 952
623 13294 2524 952
624 13294 1694 952
625 13294 2413 952
626 13294 1926 952
627 13294 2290 952
628 13294 1712 952
636 13294 2344 952
637 13294 2345 952
553 13293 1912 952
595 13293 2451 952
622 13293 2559 952
623 13293 2524 952
624 13293 1694 952
625 13293 2413 952
626 13293 1926 952
627 13293 2290 952
628 13293 1712 952
636 13293 2344 952
637 13293 2345 952