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