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 <= '12de2c9c' 
    AND ip_to >= '12de2c9c'
  ) 
  AND a.type IN ('ips', 'ipr', 'ipb') 
  AND status = 'A'

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}