Thanks for teaching me that even emotions have logic. Live long and prosper.
SELECT * FROM portfolio_projects
WHERE (
id = IFNULL((select min(id) from portfolio_projects where id > 91),0)
or id = IFNULL((select max(id) from portfolio_projects where id < 91),0)
)
ORDER BY date, id