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