SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed97a11aaad883809049c826f1ce8325d6c27fb3753ab879852578e94a80beb7' 
  AND token = 'mfCc+1dWGmOkl3AKiJBcuoR0GwC+OjcDZYWiMbQudx8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}