Obviously remove the bowl then run the pipe through the dishwasher.
Ream the bowl the best you can then plug the bottom and do the salt or coffee grounds treatment.
Once happy with the inside give the outside of the wood a good cleaning with Murphy's Oil Soap.