SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8a69d2fa13da022a7df53b84eaa939cd25f2fba90ce21fcd16cda54ff49d23f' 
  AND token = 'VGxotaRqr/xRu5A/UwNCW4QbVKaTkKREQKLRpGhWg24=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}