Key update to prevent possible slow query from a large session table.

Signed-off-by: Sven Rissmann <creaworld-media@gmx.de>