SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd707c28ed6ad47ef9c4b784e94cbb8b9b036e1552490fad449a78d2d53c975a1' 
  AND token = 'AXqw4kGLWs48ccATykaGJ5EXZHZJaC9m0nWRii7SsnA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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