SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}Weiden{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCity = 'Weiden' OR prZip = 'Weiden' OR prStreet LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}Weiden{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCountry = 'Weiden') AND (prLocation LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}i.{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCity = 'i.' OR prZip = 'i.' OR prStreet LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}i.{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCountry = 'i.') AND (prLocation LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}d.{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCity = 'd.' OR prZip = 'd.' OR prStreet LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}d.{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCountry = 'd.') AND (prLocation LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}OPf.{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCity = 'OPf.' OR prZip = 'OPf.' OR prStreet LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}OPf.{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCountry = 'OPf.') AND (prLocation LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}Germany{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}Germany{e373cc18184101ba5b98bf864c0f2ef3df9c3f5e8e0378017f25756e3a397936}' OR prCountry = 'Germany')