Efficient evaluation of massive Mellin-Barnes integrals