* ServerLock: Rework serverlock to use raw SQL and not depend on id (#79859)
* rework SQL to use raw sql and more resistant to DBs that do not return ID
* rework SQL to return ID in all DBs. Avoid using ID as operator
(cherry picked from commit a595353d57)
* remove print statement
* fix missing return ID for postgres
(cherry picked from commit eb9c7fea07)
---------
Co-authored-by: Jo <joao.guerreiro@grafana.com>
Co-authored-by: jguer <me@jguer.space>