Mysql persistent backend

I think we could only do one query to get the two simple push urls.