SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9c399fb9e4563f7452705c7e76f7d8870c88d702584c6da789ba8bf5bb89f03' 
  AND token = '7GCLyU5Xsmymwj1ietnk1YbKDnWaobuo9nynmeMACpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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