SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd38d6288f8e9d562496396b23379beec40b462e15bf2a1eb8b74711a20e1d791' 
  AND token = 'U6r6+aUywUlOWqIqQk5A/me+baxYfd346Jbj6B48CHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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