SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d1187eb2fd6d6eb04210fea0794f9bf64b1d7555408f879f1d6a5da535c9e037}Bernhardsthal{d1187eb2fd6d6eb04210fea0794f9bf64b1d7555408f879f1d6a5da535c9e037}' OR prCity = 'Bernhardsthal' OR prZip = 'Bernhardsthal' OR prStreet LIKE '{d1187eb2fd6d6eb04210fea0794f9bf64b1d7555408f879f1d6a5da535c9e037}Bernhardsthal{d1187eb2fd6d6eb04210fea0794f9bf64b1d7555408f879f1d6a5da535c9e037}' OR prCountry = 'Bernhardsthal') AND (prLocation LIKE '{d1187eb2fd6d6eb04210fea0794f9bf64b1d7555408f879f1d6a5da535c9e037}Austria{d1187eb2fd6d6eb04210fea0794f9bf64b1d7555408f879f1d6a5da535c9e037}' OR prCity = 'Austria' OR prZip = 'Austria' OR prStreet LIKE '{d1187eb2fd6d6eb04210fea0794f9bf64b1d7555408f879f1d6a5da535c9e037}Austria{d1187eb2fd6d6eb04210fea0794f9bf64b1d7555408f879f1d6a5da535c9e037}' OR prCountry = 'Austria')