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

Query time 0.00065

JSON explain

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