Distance isn’t an issue, per se.
The issue is the turbulence generated by said protrusion with the boat in motion.
Just make sure the transducer is in front (fore) of any protrusions in the hull.
My transducer is just slightly off the keel, flanked by intakes on both sides. Roughly 6” in...