SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0221064c0896916cd204723c6892cf668371d12e82cd32a30df31d34f5854ddd' 
  AND token = 'nQmJ/jTQucanEC7qSt0qkOS7Coo43a7nxQJ4cocmOd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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