Irish pub sells for $31m amid pandemic buying spree