The balanced design of an XLR cable is effectively a noise-canceling design. Whether the cable is 5m, 20m, or 30m the length of the XLR cable will not degrade the quality of the audio signal. So, long and short XLR cables should perform equally well, in terms of resistance to external noise and interference.