SELECT 
  a.item_id, 
  b.reason 
FROM 
  cscart_access_restriction as a 
  LEFT JOIN cscart_access_restriction_reason_descriptions as b ON a.item_id = b.item_id 
  AND a.type = b.type 
  AND lang_code = 'en' 
WHERE 
  (
    ip_from <= 316754165 
    AND ip_to >= 316754165 
    OR ip_from <= 2130706433 
    AND ip_to >= 2130706433
  ) 
  AND a.type IN ('ips', 'ipr', 'ipb') 
  AND status = 'A'

Query time 0.00062

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "a",
      "access_type": "range",
      "possible_keys": ["type"],
      "key": "type",
      "key_length": "9",
      "used_key_parts": ["type"],
      "rows": 1,
      "filtered": 100,
      "index_condition": "a.`type` in ('ips','ipr','ipb')",
      "attached_condition": "(a.ip_from <= 316754165 and a.ip_to >= 316754165 or a.ip_from <= 2130706433 and a.ip_to >= 2130706433) and a.`status` = 'A'"
    },
    "table": {
      "table_name": "b",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "18",
      "used_key_parts": ["item_id", "type", "lang_code"],
      "ref": [
        "staging2_wesave_com.a.item_id",
        "staging2_wesave_com.a.type",
        "const"
      ],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(b.lang_code = 'en')"
    }
  }
}