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