SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'caf5fe7da9bce080b4e4d75cc4c872c1819268a2810bb32cf17cea4959b5abb6' 
  AND token = 'ZybnL8HfdE9CGrPF+8h5lp4IWJkuOtgtiN7J8r6xva8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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