SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df9666d8311ca2143c6f7a3b9c7aed1e97dd561d1aa4160513bbe12bf39e3305' 
  AND token = 'smGaM+5eg8Q2Fg3RUm47C4E9trMkaZNtOfm79Rbg6OY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00062

JSON explain

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