SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5becfbe5052cf26650b692b627d4627fe8ab321e737132e62b30e54c3c39fe6c' 
  AND token = 'Y1GpIPgmwDAnbySNw/oFn1BrulQZpAYhqVLxFNTfD94=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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