As near as practical, the distance won't matter too much if you are using 170 amp cable, as the MRBF fuse protects this cable.
You may as well use it if you have purchaced a 150 amp fuse. It's intended to deal with unusally high fault currents, so since you are using 170 amp cable, a fuse 100 to 150 amps is OK. With your modest requirements and limited charging the typical maximum current will be a few 10s of amps. Sorry about the conflicting advice. The battery BMS limit at 100 amps is a factor. Mostly when calculating fuses you estimate the maximum current flow and use a fuse 125 to 150 % higher.
Yes no problem. Only advised midi since they are easily available 30 amps to 150 amps.
Comments on the cable. I guess it's automotive cable from 12v Planet. ( UK supplier), cable 25 mm2 rated to 70 degC , manufacturer AMC. This 170 amp is the maximum, at higher ambient temperatures or in looms/ conduite you de rate the cable. In your application there is no worry as it only has to carry fault current until the 150 MRBF , mounted on the battery post, protects. With the very small cable run between the MRBF and the 40 amp link fuses the risk of over rating the cable is almost non existant.
Mike