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