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