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