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