SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{50112fbf54791b99a252ec49e96f9561e594e84c5383ed24b90bb788909d6c07}Rivenich{50112fbf54791b99a252ec49e96f9561e594e84c5383ed24b90bb788909d6c07}' OR prCity = 'Rivenich' OR prZip = 'Rivenich' OR prStreet LIKE '{50112fbf54791b99a252ec49e96f9561e594e84c5383ed24b90bb788909d6c07}Rivenich{50112fbf54791b99a252ec49e96f9561e594e84c5383ed24b90bb788909d6c07}' OR prCountry = 'Rivenich') AND (prLocation LIKE '{50112fbf54791b99a252ec49e96f9561e594e84c5383ed24b90bb788909d6c07}Germany{50112fbf54791b99a252ec49e96f9561e594e84c5383ed24b90bb788909d6c07}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{50112fbf54791b99a252ec49e96f9561e594e84c5383ed24b90bb788909d6c07}Germany{50112fbf54791b99a252ec49e96f9561e594e84c5383ed24b90bb788909d6c07}' OR prCountry = 'Germany')