CREATE INDEX entries_user_id_status_starred_idx ON entries (user_id, status, starred);