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