SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '152e3df54a37af471743a3966fc1b95003a5d64924af8434ce5945aa53f40676' 
  AND token = 'EkoO45XFk6oHbpZDJjXBbdPZVNufB0TRegB8fqbLMdE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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