An electric fuel pump should be mounted as close to the fuel tank as possible to minimize the risk of vapor lock and ensure adequate lubrication of the pump.