https://en.wikipedia.org/wiki/Mirage#Superior_mirage
The site has photos listed for up to 381km, although the link for that one is broken.
Fog is definitely a factor.