Update: seems like the random errors were caused because of an ongoing database update. It's all back to normal.
--
Queries seem to randomly fail, we're looking into it