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