Is it an option to install an outlet in the floor underneath the longarm instead?
If not, I think I'd go for the ceiling outlet.
I hate tripping hazards, so stretching a cord across the floor would be my very last option.
My sewing room is my living room and I have a machine isolated out in the middle of the room right now - I'm considering getting one of those outlet adapters that I can screw into the light fixture that hangs directly above it if I can't figure out a better arrangement in the room. Unfortunately a floor outlet is not an option for me.