SELECT * FROM gallery where g_slug = '/images/infrastructure.jpg/'