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