purgeExpiredWithIdCondition

SQL condition for the expired record with an id, and a partition (if needed).

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