user workarount to compare CLOB column with CHAR value

fixes https://github.com/owncloud/core/issues/6854

@DeepDiver1975 @blizzz @karlitschek