SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd8a3be2d430ddc0e5a0782a3c371be230def2d20644f19c748abd702f2fea46' 
  AND token = 'Sxa8oyu9BLgU3v5sic0TdBzlsHV6J9T2uMbeWpH916M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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