CREATE INDEX entries_id_user_status_idx ON entries USING btree (id, user_id, status);