SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5417b227c9c07abf5aac9441c7f080fe61ec02fc54fd4a70b329ef7afff104c' 
  AND token = '9xqMchijqbOo24ieoEMZTuhlMsAvQH4tDP9ihYUii54=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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