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