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