adding support for smartsql with where clause to MockSmartstore