How to add two conditions for the php contains

You can look at the wix-data query API for details and examples on creating database filters.