There is absolutely no need to pay huge fees for lenses.
You can use readily available lenses for CO2 laser cutters - they can be bought under $20 each.
Basically, you need two of these with different focal distance.
Say, one with 75mm and another with say, 50mm focal distance.
This will give you 1.5x magnification.
I've experimented with cheapest, 12mm ones and they were quite good.
The main issue is the sensor itself.
You can use single sensor, like that used in IR thermometers, mount it on gimbal and do X-Y scan mechanically, while accumulating data.
Extreme resolutions can be obtained, but almost unusable for anything that might move or change it's temperature.