SELECT * FROM offers__list WHERE public=1 and id = (https: ORDER BY id desc LIMIT 1