If there are only two variants of the query, we should prepare them both in the constructor of the class, rather than every time the query is performed.  Prepare() is actually quite expensive.