SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1bc4e0d0ea5d0d21998c319b8ebc4e7ca50217b198bf502b974501725c4b371b' 
  AND token = 'nqqJSP9lJ1xi+Vm4sSoACTMr4w2n41ETbIkzLNMYVu0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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