The STV240N75F3 was still manufactured with older technology and had an elaborate and now very expensive housing. There is no replacement for this MOSFET because of the antiquated housing.
As @Community member said, it makes most sense to upgrade to a more modern housing with probably even better parameters.