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