SELECT * FROM collections.photos WHERE 1 AND photos.md5 = 'a24f234954e8b6ecf64d1a4942c8bb5a'