Select statements with IN clause are not supported by SQLite as they have to include VALUES in this form:
WHERE (productKey, productIdentifier2)
IN (VALUES(23,'Master'),(28,'Local'),(18,'Local'),(19,'Local'))
An explanation can be found in https://stackoverflow.com/questions/45953553/what-is-the-syntax-for-select-in-statement-for-sqlite