MySQL transaction isolation level decorator

We can also do this in a separate PR once we know the fix is working.