Try making use of some paretheses in your query.
I think that your intended query is:
where (co02letto=0) and ((co02userda=7 and co02usera=8) or (co02userda=8 and co02usera=7)) and (co02time>'2019-01-11 08:18:59')
in other words three check blocks linked by AND opeartor, where the second one is made up of two check blocks under the OR operator.
To write your query without parentheses and to understand why your original quaery couldn't work, search for logical operators precedence (generally, not-and-or)