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

Query time 0.00134

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "21.31"
    },
    "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": 7,
          "rows_produced_per_join": 7,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "1.75",
            "eval_cost": "0.70",
            "prefix_cost": "2.45",
            "data_read_per_join": "112"
          },
          "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": 26,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "4.62",
            "eval_cost": "2.67",
            "prefix_cost": "11.97",
            "data_read_per_join": "20K"
          },
          "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": 26,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "6.67",
            "eval_cost": "2.67",
            "prefix_cost": "21.31",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 13212 1973 940
595 13212 1905 940
622 13212 2497 940
623 13212 2501 940
624 13212 1803 940
625 13212 2147 940
626 13212 1829 940
627 13212 1659 940
628 13212 1660 940
636 13212 2348 940
637 13212 2345 940
646 13212 2370 940
647 13212 2374 940
553 13213 1973 940
595 13213 1789 940
622 13213 2497 940
623 13213 2501 940
624 13213 1803 940
625 13213 2147 940
626 13213 1829 940
627 13213 1659 940
628 13213 1660 940
636 13213 2348 940
637 13213 2345 940
646 13213 2370 940
647 13213 2374 940
553 13214 1973 940
595 13214 2499 940
622 13214 2497 940
623 13214 2501 940
624 13214 1803 940
625 13214 2147 940
626 13214 1829 940
627 13214 1659 940
628 13214 1660 940
636 13214 2348 940
637 13214 2345 940
646 13214 2370 940
647 13214 2374 940
553 13215 1973 940
595 13215 1787 940
622 13215 2497 940
623 13215 2501 940
624 13215 1803 940
625 13215 2147 940
626 13215 1829 940
627 13215 1659 940
628 13215 1660 940
636 13215 2348 940
637 13215 2345 940
646 13215 2370 940
647 13215 2374 940
553 13216 1973 940
595 13216 1900 940
622 13216 2497 940
623 13216 2501 940
624 13216 1803 940
625 13216 2147 940
626 13216 1829 940
627 13216 1659 940
628 13216 1660 940
636 13216 2348 940
637 13216 2345 940
646 13216 2370 940
647 13216 2374 940
553 13217 1973 940
595 13217 1899 940
622 13217 2497 940
623 13217 2501 940
624 13217 1803 940
625 13217 2147 940
626 13217 1829 940
627 13217 1659 940
628 13217 1660 940
636 13217 2348 940
637 13217 2345 940
646 13217 2370 940
647 13217 2374 940
553 13211 1973 940
595 13211 1904 940
622 13211 2497 940
623 13211 2501 940
624 13211 1803 940
625 13211 2147 940
626 13211 1829 940
627 13211 1659 940
628 13211 1660 940
636 13211 2348 940
637 13211 2345 940
646 13211 2370 940
647 13211 2374 940