search: use `uuid` as extra order key to make pagination persistent.
This is obviously needed to make limited search results persistent and we never experienced pagination inconsistence with MariaDB. However with MySQL 8 search results are not persistent so we need to explicitly use unique key for ordering.
Fixes: #209 (closed)