High or low side switching where the switch (button) is meters away from the circuit
Here is a potential idea which uses a digital isolator (Silicon Labs Si8610 Data Sheet) on the output. The input has lightning strike protection diodes and a differential amplifier with high common mode rejection ratio;  both required for a 25m cable exposed to hazards. You could also add filter capacitors. All parts are relatively inexpensive.
The differential amplifier has a gain of 2, and has a high common mode rejection ratio guarding against transients triggering a false button press.
When the button is not pressed, 1.65V appears across the inputs, giving an output of 3.3V.
When the button is pressed, it shorts the inputs, giving 0V from the amplifier output.
You don't need a separate LED driver chip and opto-isolator, so that will offset the cost of the digital isolator.
Texas Instruments has a great series of videos on the subject of galvanic isolation which discusses inductive, capacitive and optical isolation techniques.