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

Query time 0.00046

JSON explain

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