SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd37eed827c933c5385c16025588a7e26ced1ae0949c83e9461327861b9b95a3b' 
  AND token = '2XUXs799nY9wCBW2ato0tcuCF8AndRAho8zJ3uOrJnI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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