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