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