SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1777f984ebe8983e8037278757453eac394081665ccfffa7718fd4a4609e1168' 
  AND token = 'ui5fFNKQRLyWT510nG3+MJGK84U+aJ0khCT6bZP7Q3I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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