SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd951ce76c92e0d917e5bd0acd7d967c373c114b6aee2a0bb84e28e7dcfc25da5' 
  AND token = 'A1y43Kik60k+rRJYcwd6ZuRAVKq2+/DTugsxZj99ggM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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