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

Query time 0.00281

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "88.27"
    },
    "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": 29,
          "rows_produced_per_join": 29,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "7.25",
            "eval_cost": "2.90",
            "prefix_cost": "10.15",
            "data_read_per_join": "464"
          },
          "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": 110,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "19.12",
            "eval_cost": "11.06",
            "prefix_cost": "49.57",
            "data_read_per_join": "85K"
          },
          "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": 110,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "27.64",
            "eval_cost": "11.06",
            "prefix_cost": "88.27",
            "data_read_per_join": "11K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12683 1935 872
624 12683 1803 872
625 12683 2143 872
627 12683 1954 872
628 12683 1712 872
553 12661 1935 872
624 12661 1803 872
625 12661 2131 872
627 12661 2290 872
628 12661 1712 872
553 12662 1935 872
624 12662 1803 872
625 12662 2132 872
627 12662 2290 872
628 12662 1712 872
553 12663 1935 872
624 12663 1803 872
625 12663 2143 872
627 12663 2290 872
628 12663 1712 872
553 12664 1935 872
624 12664 1705 872
625 12664 2413 872
627 12664 1836 872
628 12664 1712 872
553 12665 1935 872
624 12665 1705 872
625 12665 2415 872
627 12665 1836 872
628 12665 1712 872
553 12666 1935 872
624 12666 1705 872
625 12666 2131 872
627 12666 1836 872
628 12666 1712 872
553 12667 1935 872
624 12667 1705 872
625 12667 2132 872
627 12667 1836 872
628 12667 1712 872
553 12668 1935 872
624 12668 1705 872
625 12668 2143 872
627 12668 1836 872
628 12668 1712 872
553 12669 1935 872
624 12669 1803 872
625 12669 2413 872
627 12669 1836 872
628 12669 1712 872
553 12670 1935 872
624 12670 1803 872
625 12670 2415 872
627 12670 1836 872
628 12670 1712 872
553 12671 1935 872
624 12671 1803 872
625 12671 2131 872
627 12671 1836 872
628 12671 1712 872
553 12672 1935 872
624 12672 1803 872
625 12672 2132 872
627 12672 1836 872
628 12672 1712 872
553 12673 1935 872
624 12673 1803 872
625 12673 2143 872
627 12673 1836 872
628 12673 1712 872
553 12674 1935 872
624 12674 1705 872
625 12674 2413 872
627 12674 1954 872
628 12674 1712 872
553 12675 1935 872
624 12675 1705 872
625 12675 2415 872
627 12675 1954 872
628 12675 1712 872
553 12676 1935 872
624 12676 1705 872
625 12676 2131 872
627 12676 1954 872
628 12676 1712 872
553 12677 1935 872
624 12677 1705 872
625 12677 2132 872
627 12677 1954 872
628 12677 1712 872
553 12678 1935 872
624 12678 1705 872
625 12678 2143 872
627 12678 1954 872
628 12678 1712 872
553 12679 1935 872
624 12679 1803 872
625 12679 2413 872
627 12679 1954 872
628 12679 1712 872
553 12680 1935 872
624 12680 1803 872
625 12680 2415 872
627 12680 1954 872
628 12680 1712 872
553 12681 1935 872
624 12681 1803 872
625 12681 2131 872
627 12681 1954 872
628 12681 1712 872
553 12682 1935 872
624 12682 1803 872
625 12682 2132 872
627 12682 1954 872
628 12682 1712 872
553 12660 1935 872
624 12660 1803 872
625 12660 2415 872
627 12660 2290 872
628 12660 1712 872
553 12659 1935 872
624 12659 1803 872
625 12659 2413 872
627 12659 2290 872
628 12659 1712 872
553 12658 1935 872
624 12658 1705 872
625 12658 2143 872
627 12658 2290 872
628 12658 1712 872
553 12657 1935 872
624 12657 1705 872
625 12657 2132 872
627 12657 2290 872
628 12657 1712 872
553 12656 1935 872
624 12656 1705 872
625 12656 2131 872
627 12656 2290 872
628 12656 1712 872
553 12655 1935 872
624 12655 1705 872
625 12655 2415 872
627 12655 2290 872
628 12655 1712 872
553 12654 1935 872
624 12654 1705 872
625 12654 2413 872
627 12654 2290 872
628 12654 1712 872