SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '59f3bf9f634c022a620242b63772ecc2a1467864c3a9f8daa4906b5a3d83f6df' 
  AND token = 'YYptevxsYg+2RkbshL/zfHbNfXjZnaReWfV/1lZiquQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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