How can I display a mysql bit(64) column as a string of ones and zeros?
You can also use BIN() function. You still have to LPAD() though, the higher order 0s are not displayed:

LPAD(BIN(hash), 64, '0')