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