SELECT * FROM images WHERE id > ? ORDER BY id LIMIT 1