There's probably not a right or wrong answer but.....
I have a small loan of £4k. Would lenders prefer it to be paid off before applying or does it not matter?
I'm not sure if having zero debt when applying is good or not.
Often will not matter, depends what affordability on your overall case looks like.