SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}Stadtbergen{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}' OR prCity = 'Stadtbergen' OR prZip = 'Stadtbergen' OR prStreet LIKE '{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}Stadtbergen{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}' OR prCountry = 'Stadtbergen') AND (prLocation LIKE '{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}/{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}/{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}' OR prCountry = '/') AND (prLocation LIKE '{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}Leitershofen{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}' OR prCity = 'Leitershofen' OR prZip = 'Leitershofen' OR prStreet LIKE '{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}Leitershofen{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}' OR prCountry = 'Leitershofen') AND (prLocation LIKE '{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}Germany{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}Germany{789980535b82cab0d75c9f48dee5f06d5d6cbcf35952d9bde9b3dc567b2a20fc}' OR prCountry = 'Germany')