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