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

Query time 0.00242

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "135.45"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gpf",
          "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": 9,
          "rows_produced_per_join": 9,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "2.25",
            "eval_cost": "0.90",
            "prefix_cost": "3.15",
            "data_read_per_join": "936"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      },
      {
        "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": 21,
          "rows_produced_per_join": 189,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "47.25",
            "eval_cost": "18.90",
            "prefix_cost": "69.30",
            "data_read_per_join": "2K"
          },
          "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": "fpl",
          "used_key_parts": [
            "feature_id",
            "product_id",
            "lang_code"
          ],
          "key_length": "12",
          "ref": [
            "gaseus.gpf.feature_id",
            "gaseus.gp.product_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 189,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "47.25",
            "eval_cost": "18.90",
            "prefix_cost": "135.45",
            "data_read_per_join": "146K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
595 7059 1748 798
595 7058 1748 798
595 7057 1748 798
595 6862 1941 798
595 3304 1899 798
595 6852 1899 798
595 3309 1902 798
595 6865 1972 798
595 6856 1994 798
595 6849 1904 798
595 3298 1787 798
595 3297 1789 798
595 6845 1789 798
595 3299 1789 798
595 6863 1941 798
595 6853 1899 798
595 3308 1995 798
595 3314 1900 798
595 6857 1988 798
595 3310 1988 798
595 6858 1988 798
595 3318 1905 798
628 7059 1660 798
628 7058 1660 798
628 7057 1660 798
628 6862 1712 798
628 3304 1712 798
628 6852 1712 798
628 3309 1660 798
628 6865 1660 798
628 6856 1660 798
628 6849 1660 798
628 3298 1660 798
628 3297 1660 798
628 6845 1660 798
628 3299 1660 798
628 6863 1660 798
628 6853 1660 798
628 3308 1660 798
628 3314 1660 798
628 6857 1660 798
628 3310 1660 798
628 6858 1660 798
628 3318 1660 798
624 7059 1705 798
624 7058 1705 798
624 7057 1705 798
624 6862 1705 798
624 3304 1705 798
624 6852 1705 798
624 3309 1992 798
624 6865 1980 798
624 6856 1980 798
624 6849 1705 798
624 3298 1705 798
624 3297 1705 798
624 6845 1705 798
624 3299 1705 798
624 6863 1705 798
624 6853 1705 798
624 3308 1705 798
624 3314 1705 798
624 6857 1705 798
624 3310 1705 798
624 6858 1705 798
624 3318 1705 798
625 7059 2122 798
625 7058 2122 798
625 7057 2122 798
625 6862 2341 798
625 3304 2341 798
625 6852 2341 798
625 3309 2342 798
625 6865 2334 798
625 6856 2341 798
625 6849 2334 798
625 3298 2334 798
625 3297 2334 798
625 6845 2334 798
625 3299 2334 798
625 6863 2334 798
625 6853 2334 798
625 3308 2334 798
625 3314 2334 798
625 6857 2334 798
625 3310 2334 798
625 6858 2334 798
625 3318 2334 798
553 7059 1973 798
553 7058 1973 798
553 7057 1973 798
553 6862 1973 798
553 3304 1973 798
553 6852 1973 798
553 3309 1973 798
553 6865 1973 798
553 6856 1973 798
553 6849 1973 798
553 3298 1973 798
553 3297 1973 798
553 6845 1973 798
553 3299 1973 798
553 6863 1973 798
553 6853 1973 798
553 3308 1973 798
553 3314 1973 798
553 6857 1973 798
553 3310 1973 798
553 6858 1973 798
553 3318 1973 798
626 7059 1989 798
626 7058 2007 798
626 7057 1706 798
626 6862 2343 798
626 3304 2343 798
626 6852 2343 798
626 3309 2343 798
626 6865 1706 798
626 6856 1926 798
626 6849 1706 798
626 3298 1706 798
626 3297 1989 798
626 6845 2007 798
626 3299 1706 798
626 6863 1706 798
626 6853 1706 798
626 3308 1706 798
626 3314 1706 798
626 6857 1742 798
626 3310 1989 798
626 6858 1706 798
626 3318 1706 798
622 7059 2325 798
622 7058 2325 798
622 7057 2325 798
622 6862 1942 798
622 3304 1998 798
622 6852 1998 798
622 3309 1937 798
622 6865 1974 798
622 6856 1937 798
622 6849 1945 798
622 3298 2325 798
622 3297 2325 798
622 6845 2325 798
622 3299 2325 798
622 6863 1942 798
622 6853 1998 798
622 3308 1937 798
622 3314 1937 798
622 6857 1937 798
622 3310 1937 798
622 6858 1937 798
622 3318 1946 798
623 7059 1975 798
623 7058 1975 798
623 7057 1975 798
623 6862 1983 798
623 3304 2336 798
623 6852 1975 798
623 3309 1983 798
623 6865 1975 798
623 6856 1983 798
623 6849 1975 798
623 3298 1975 798
623 3297 1975 798
623 6845 1975 798
623 3299 1975 798
623 6863 1983 798
623 6853 1975 798
623 3308 1983 798
623 3314 1983 798
623 6857 1983 798
623 3310 1983 798
623 6858 1983 798
623 3318 1975 798
627 7059 1659 798
627 7058 1659 798
627 7057 1659 798
627 6862 1659 798
627 3304 1659 798
627 6852 1659 798
627 3309 1659 798
627 6865 1659 798
627 6856 1659 798
627 6849 1659 798
627 3298 1659 798
627 3297 1659 798
627 6845 1659 798
627 3299 1659 798
627 6863 1659 798
627 6853 1659 798
627 3308 1659 798
627 3314 1659 798
627 6857 1659 798
627 3310 1659 798
627 6858 1659 798
627 3318 1659 798
636 7059 2348 798
636 7058 2348 798
636 7057 2348 798
636 6862 2344 798
636 3304 2344 798
636 6852 2344 798
636 3309 2348 798
636 6865 2348 798
636 6856 2348 798
636 6849 2348 798
636 3298 2348 798
636 3297 2348 798
636 6845 2348 798
636 3299 2348 798
636 6863 2348 798
636 6853 2348 798
636 3308 2348 798
636 3314 2348 798
636 6857 2348 798
636 3310 2348 798
636 6858 2348 798
636 3318 2348 798
637 7059 2345 798
637 7058 2345 798
637 7057 2345 798
637 6862 2345 798
637 3304 2345 798
637 6852 2345 798
637 3309 2345 798
637 6865 2345 798
637 6856 2345 798
637 6849 2345 798
637 3298 2345 798
637 3297 2345 798
637 6845 2345 798
637 3299 2345 798
637 6863 2345 798
637 6853 2345 798
637 3308 2345 798
637 3314 2345 798
637 6857 2345 798
637 3310 2345 798
637 6858 2345 798
637 3318 2345 798
641 7059 2347 798
641 7058 2347 798
641 7057 2347 798
641 6862 2347 798
641 3304 2347 798
641 6852 2347 798
641 3309 2347 798
641 6865 2347 798
641 6856 2347 798
641 6849 2347 798
641 3298 2347 798
641 3297 2347 798
641 6845 2347 798
641 3299 2347 798
641 6863 2347 798
641 6853 2347 798
641 3308 2347 798
641 3314 2347 798
641 6857 2347 798
641 3310 2347 798
641 6858 2347 798
641 3318 2347 798