It’s probably due to inefficient queries or no indexing on the column you use in your conditions.

See Speeding up your Server 101 (Windows)