SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a3b0ae1bbab6d102154c73deb546821a2b58f92aefac2eaf047c0d00c024aa8a' 
  AND token = 'J3fEHGuVJTZHKPZzcUDu+prkbIfS9cOyPYjaVAoe4M4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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