SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0974cd0716fee4571c601edb12d06e53219c1ce5e3965a27f26551ea520e0710' 
  AND token = 'Viibbe9V7XsUWOlRnYBLM3fPlBmYq42nyp8viq5PdWM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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