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