Prior fixes either didn't fix these API points or broke the normal
lists. This fix adds check to make sure we're in the right place and
then does a specifc sql query for the API. We should be good now.
Currently, we SELECT * from the pastes table, when all we need is the pid and the expiry.
This causes elevated RAM consumption by Stikked since it has to pull in paste bodies as well.
Make the cron only pull in pid and expiry.