SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6d35d8672fb85b30fa60bf4fc492af5b15630f2fd212413ac045dff3d624ea0e}Wallenhorst{6d35d8672fb85b30fa60bf4fc492af5b15630f2fd212413ac045dff3d624ea0e}' OR prCity = 'Wallenhorst' OR prZip = 'Wallenhorst' OR prStreet LIKE '{6d35d8672fb85b30fa60bf4fc492af5b15630f2fd212413ac045dff3d624ea0e}Wallenhorst{6d35d8672fb85b30fa60bf4fc492af5b15630f2fd212413ac045dff3d624ea0e}' OR prCountry = 'Wallenhorst') AND (prLocation LIKE '{6d35d8672fb85b30fa60bf4fc492af5b15630f2fd212413ac045dff3d624ea0e}Germany{6d35d8672fb85b30fa60bf4fc492af5b15630f2fd212413ac045dff3d624ea0e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{6d35d8672fb85b30fa60bf4fc492af5b15630f2fd212413ac045dff3d624ea0e}Germany{6d35d8672fb85b30fa60bf4fc492af5b15630f2fd212413ac045dff3d624ea0e}' OR prCountry = 'Germany')