SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{f8697488743a057815f8311ccbfee36aa265edbeb14abfd1accbe1036b6999e9}Baltschik{f8697488743a057815f8311ccbfee36aa265edbeb14abfd1accbe1036b6999e9}' OR prCity = 'Baltschik' OR prZip = 'Baltschik' OR prStreet LIKE '{f8697488743a057815f8311ccbfee36aa265edbeb14abfd1accbe1036b6999e9}Baltschik{f8697488743a057815f8311ccbfee36aa265edbeb14abfd1accbe1036b6999e9}' OR prCountry = 'Baltschik') AND (prLocation LIKE '{f8697488743a057815f8311ccbfee36aa265edbeb14abfd1accbe1036b6999e9}Bulgarien{f8697488743a057815f8311ccbfee36aa265edbeb14abfd1accbe1036b6999e9}' OR prCity = 'Bulgarien' OR prZip = 'Bulgarien' OR prStreet LIKE '{f8697488743a057815f8311ccbfee36aa265edbeb14abfd1accbe1036b6999e9}Bulgarien{f8697488743a057815f8311ccbfee36aa265edbeb14abfd1accbe1036b6999e9}' OR prCountry = 'Bulgarien')