conditionWithExpiration

SQL condition for the record with an id, a partition (if needed) and with expiration check (if needed) already injected.

This is needed for older Android Sqlite APIs that have no way to inject non-string parameters.