But this is a hand-wave.
This is a situation where both vehicles got explicit permission from someone who's supposed to know what they're doing. These sorts of runway crossings aren't unusual - and this one was responding to an emergency - and at a place like LGA there's always gonna be a plane on approach.
The difference between "hold short at runway 22" and being on runway 22 is much less than 30 seconds in some cases.