Why not use constants .... AND 0 < 78238923123 (your random tag) ?
And while you're at it, why not just make it a comment? I've used that before to make queries easily identifiable in SHOW PROCESSLIST: (in MySQL)
/* YourTag Function Name blabla */ SELECT * FROM blabla;
The comment has the extra advantage of not affecting the query cache at all (at least in MySQL).
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds