<s>[INST] Here is a SQL query that I'm having trouble with:
```sql
CREATE TABLE t (
  `key`          INT,
  `value`        INT,
  PRIMARY KEY (`key`)
);

INSERT INTO t (key, value)
VALUES (1, 1),
       (2, 2),
       (3, 3),
       (4, 4),
       (5, 5);

-- Slow query
SELECT COUNT(*) FROM t WHERE value + 1 > 3;
-- Fast query
SELECT COUNT(*) FROM t WHERE value + 1 > 2;
```
Why does the slow query take so long to execute?[/INST]